summaryrefslogtreecommitdiff
path: root/emulators/xmame/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2001-08-26 21:39:33 +0000
committerkristerw <kristerw@pkgsrc.org>2001-08-26 21:39:33 +0000
commitd414a7cc8aca15f10e9dc635d1026aa03cb08618 (patch)
treedde124940520b0256acd173a1abc63cc9050bcda /emulators/xmame/patches
parent714d4ce9ce4bdaf22cd08c8b8abaf3a868126899 (diff)
downloadpkgsrc-d414a7cc8aca15f10e9dc635d1026aa03cb08618.tar.gz
Update xmame to 0.54.1.
Changes since 0.53.1: - Everything from MAME 0.54. - Fixed a compile error in the xgl target caused by a change in the core. (Sven Goethel) - Applied a patch that fixes CPS2 games. (Aaron Giles)
Diffstat (limited to 'emulators/xmame/patches')
-rw-r--r--emulators/xmame/patches/patch-am44
1 files changed, 0 insertions, 44 deletions
diff --git a/emulators/xmame/patches/patch-am b/emulators/xmame/patches/patch-am
deleted file mode 100644
index d8979ec6290..00000000000
--- a/emulators/xmame/patches/patch-am
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-am,v 1.3 2000/07/13 20:54:04 martin Exp $
---- src/cpuintrf.c.orig Fri Jun 23 12:05:01 2000
-+++ src/cpuintrf.c Thu Jul 13 00:02:05 2000
-@@ -126,13 +126,34 @@
- #define LOG(x)
- #endif
-
--#define CPUINFO_SIZE (5*sizeof(int)+4*sizeof(void*)+2*sizeof(double))
-+/*
-+ * The filler object and the CPUINFO_* defs have various problems. (1) If
-+ * there is a hole at the end of the struct, the first few bytes of filler
-+ * won't extend the size. This is the case if the last object isn't one with
-+ * the maximum alignment restriction. (2) The calculation of CPUINFO_SIZE
-+ * ignores internal holes added by the compiler for field alignment. That
-+ * can be fixed by reordering fields, but then you get problem #1.
-+ */
-+
-+typedef struct cpuinfo_test_struct
-+{
-+ struct cpu_interface *intf; /* pointer to the interface functions */
-+ int iloops; /* number of interrupts remaining this frame */
-+ int totalcycles; /* total CPU cycles executed */
-+ int vblankint_countdown; /* number of vblank callbacks left until we interrupt */
-+ int vblankint_multiplier; /* number of vblank callbacks per interrupt */
-+ void *vblankint_timer; /* reference to elapsed time counter */
-+ double vblankint_period; /* timing period of the VBLANK interrupt */
-+ void *timedint_timer; /* reference to this CPU's timer */
-+ double timedint_period; /* timing period of the timed interrupt */
-+ int save_context; /* need to context switch this CPU? yes or no */
-+ void *context; /* dynamically allocated context buffer */
-+ UINT8 filler[0]; /* make the array aligned to next power of 2 */
-+} cpuinfo_test;
-+
- /* How do I calculate the next power of two from CPUINFO_SIZE using a macro? */
--#ifdef __LP64__
--#define CPUINFO_ALIGN (128-CPUINFO_SIZE)
--#else
--#define CPUINFO_ALIGN (64-CPUINFO_SIZE)
--#endif
-+
-+#define CPUINFO_ALIGN ((sizeof(cpuinfo_test) > 64 ? 128 : 64) - sizeof(cpuinfo_test))
-
- struct cpuinfo
- {