summaryrefslogtreecommitdiff
path: root/emulators/generator/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/generator/files')
-rw-r--r--emulators/generator/files/patch-cmz80__z80.c20
-rw-r--r--emulators/generator/files/patch-configure18
-rw-r--r--emulators/generator/files/patch-cpu68k__def68k.c11
-rw-r--r--emulators/generator/files/patch-hdr__generator.h41
-rw-r--r--emulators/generator/files/patch-hdr__registers.h23
-rw-r--r--emulators/generator/files/patch-main__reg68k.c13
-rw-r--r--emulators/generator/files/patch-main__ui-gtk.c11
7 files changed, 0 insertions, 137 deletions
diff --git a/emulators/generator/files/patch-cmz80__z80.c b/emulators/generator/files/patch-cmz80__z80.c
deleted file mode 100644
index 365c2b00ffcc..000000000000
--- a/emulators/generator/files/patch-cmz80__z80.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- cmz80/z80.c.orig Mon Oct 29 20:07:24 2001
-+++ cmz80/z80.c Sun Jul 22 13:54:12 2007
-@@ -633,7 +633,7 @@
- #endif
- }
-
--/* inline */ static BYTE Inc(BYTE bArg)
-+/* inline */ BYTE Inc(BYTE bArg)
- {
- #ifdef ARITH_TABLES
- bArg++;
-@@ -646,7 +646,7 @@
- #endif
- }
-
--/* inline */ static BYTE Dec(BYTE bArg)
-+/* inline */ BYTE Dec(BYTE bArg)
- {
- #ifdef ARITH_TABLES
- m_regF = (m_regF & C_FLAG) | rgfDec[bArg--];
diff --git a/emulators/generator/files/patch-configure b/emulators/generator/files/patch-configure
deleted file mode 100644
index d36090a035c7..000000000000
--- a/emulators/generator/files/patch-configure
+++ /dev/null
@@ -1,18 +0,0 @@
---- configure.orig Mon May 5 12:08:27 2003
-+++ configure Sat Jun 11 11:55:59 2005
-@@ -1919,15 +1919,6 @@
- echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
- CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
- fi
-- case $target_cpu in
-- i?86) echo "$as_me:$LINENO: result: Turning on pentium optimisations" >&5
--echo "${ECHO_T}Turning on pentium optimisations" >&6
-- # cannot do malign-double as we link to other libraries and it
-- # would break binary compatibility
-- CFLAGS="$CFLAGS -march=pentium -malign-loops=5"
-- CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
-- ;;
-- esac
- else
- { echo "$as_me:$LINENO: WARNING: You did not opt for gcc optimisations!" >&5
- echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
diff --git a/emulators/generator/files/patch-cpu68k__def68k.c b/emulators/generator/files/patch-cpu68k__def68k.c
deleted file mode 100644
index 5ee468fa6d08..000000000000
--- a/emulators/generator/files/patch-cpu68k__def68k.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- cpu68k/def68k.c.orig Sun May 4 21:58:27 2003
-+++ cpu68k/def68k.c Thu Mar 22 00:58:30 2007
-@@ -21,7 +21,7 @@
- /* file-scope global variables */
-
- static int total = 0;
--static int clocks_movetable[]; /* pre-declaration */
-+int clocks_movetable[]; /* pre-declaration */
-
- /* private functions for forward references */
-
diff --git a/emulators/generator/files/patch-hdr__generator.h b/emulators/generator/files/patch-hdr__generator.h
deleted file mode 100644
index 648ed05d7d72..000000000000
--- a/emulators/generator/files/patch-hdr__generator.h
+++ /dev/null
@@ -1,41 +0,0 @@
---- hdr/generator.h.orig Mon May 5 03:50:43 2003
-+++ hdr/generator.h Sun Nov 23 04:46:22 2003
-@@ -13,6 +13,10 @@
- void gen_softreset(void);
- void gen_loadmemrom(const char *rom, int romlen);
-
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
- #if defined(linux)
- #include <byteswap.h>
- #define SWAP16(x) bswap_16((x))
-@@ -21,6 +25,10 @@
- #include <machine/endian.h>
- #define SWAP16(x) bswap_16((x))
- #define SWAP32(x) bswap_32((x))
-+#elif defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+ #include <sys/endian.h>
-+ #define SWAP16(x) (be16toh(x))
-+ #define SWAP32(x) (be32toh(x))
- #else
- #define SWAP16(y) (( ((y)>>8) & 0x00ff) | (( ((y)<<8) & 0xff00)))
- #define SWAP32(y) (( ((y)>>24) & 0x000000ff) | \
-@@ -221,11 +229,11 @@
- # define LOG_DEBUG3(x) /* ui_log_debug3 ## x */
- # define LOG_DEBUG2(x) /* ui_log_debug2 ## x */
- # define LOG_DEBUG1(x) /* ui_log_debug1 ## x */
--# define LOG_USER(x) ui_log_user ## x
--# define LOG_VERBOSE(x) ui_log_verbose ## x
--# define LOG_NORMAL(x) ui_log_normal ## x
--# define LOG_CRITICAL(x) ui_log_critical ## x
--# define LOG_REQUEST(x) ui_log_request ## x
-+# define LOG_USER(x) ui_log_user x
-+# define LOG_VERBOSE(x) ui_log_verbose x
-+# define LOG_NORMAL(x) ui_log_normal x
-+# define LOG_CRITICAL(x) ui_log_critical x
-+# define LOG_REQUEST(x) ui_log_request x
- #endif
-
- typedef struct {
diff --git a/emulators/generator/files/patch-hdr__registers.h b/emulators/generator/files/patch-hdr__registers.h
deleted file mode 100644
index 63a9d64842a0..000000000000
--- a/emulators/generator/files/patch-hdr__registers.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- hdr/registers.h.orig
-+++ hdr/registers.h
-@@ -3,17 +3,17 @@
- call a C function, then when that C function returns these registers are
- still what they were before we made the call. */
-
--#ifdef PROCESSOR_ARM
-+#if defined(PROCESSOR_ARM) && !defined(__clang__)
- register uint32 reg68k_pc asm ("r7");
- register uint32 *reg68k_regs asm ("r8");
- register t_sr reg68k_sr asm ("r9");
- #else
--# ifdef PROCESSOR_SPARC
-+# if defined(PROCESSOR_SPARC) && !defined(__clang__)
- register uint32 reg68k_pc asm ("5");
- register uint32 *reg68k_regs asm ("6");
- register t_sr reg68k_sr asm ("7");
- # else
--# ifdef PROCESSOR_INTEL
-+# if defined(PROCESSOR_INTEL) && !defined(__clang__)
- register uint32 reg68k_pc asm ("%ebx");
- register uint32 *reg68k_regs asm ("%edi");
- register t_sr reg68k_sr asm ("%esi");
diff --git a/emulators/generator/files/patch-main__reg68k.c b/emulators/generator/files/patch-main__reg68k.c
deleted file mode 100644
index c4004e45001d..000000000000
--- a/emulators/generator/files/patch-main__reg68k.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- main/reg68k.c.orig
-+++ main/reg68k.c
-@@ -20,8 +20,8 @@
-
- /*** global variables ***/
-
--#if (!(defined(PROCESSOR_ARM) || defined(PROCESSOR_SPARC) \
-- || defined(PROCESSOR_INTEL)))
-+#if ((!(defined(PROCESSOR_ARM) || defined(PROCESSOR_SPARC) \
-+ || defined(PROCESSOR_INTEL))) || defined(__clang__))
- uint32 reg68k_pc;
- uint32 *reg68k_regs;
- t_sr reg68k_sr;
diff --git a/emulators/generator/files/patch-main__ui-gtk.c b/emulators/generator/files/patch-main__ui-gtk.c
deleted file mode 100644
index 9b6181f968b8..000000000000
--- a/emulators/generator/files/patch-main__ui-gtk.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- main/ui-gtk.c.orig Sun May 4 09:09:51 2003
-+++ main/ui-gtk.c Sun Nov 23 04:32:57 2003
-@@ -739,7 +739,7 @@
- /* logging is done this way because this was the best I could come up with
- whilst battling with macros that can only take fixed numbers of arguments */
-
--#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
-+#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
- { \
- va_list ap; \
- if (gen_loglevel >= level) { \