summaryrefslogtreecommitdiff
path: root/emulators/xmame/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2001-03-31 18:59:30 +0000
committerkristerw <kristerw@pkgsrc.org>2001-03-31 18:59:30 +0000
commit377fcdee00fc8ce47bd231dfad3c8ee8535ce997 (patch)
treee4b0fae80f3698d8e7e4afdff9c903e01bf60d87 /emulators/xmame/patches
parent71c404bc4ba5cad1db97d41da1c54f1129dd2560 (diff)
downloadpkgsrc-377fcdee00fc8ce47bd231dfad3c8ee8535ce997.tar.gz
Update xmame to 0.37b13.1.
Changes since 0.37b12.1 - Everything from MAME 0.37b13. - Numerous updates to the OpenGL target. (Sven Goethel) - Added Photon2 display support for the QNX target. (Travis Coady) - You can now run "make clean68k" before building with a different 68k core. (Mike Coates) - Applied a patch from StretchMAME that prevents a bunch of games from segfaulting on startup. (Shyouzou Sugitani) - A fix for the sprites in CVS games. (Nicola Salmoria)
Diffstat (limited to 'emulators/xmame/patches')
-rw-r--r--emulators/xmame/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
new file mode 100644
index 00000000000..febeb76f9f0
--- /dev/null
+++ b/emulators/xmame/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.7 2001/03/31 18:59:30 kristerw Exp $
+--- src/drawgfx.c.orig Wed Mar 28 07:30:13 2001
++++ src/drawgfx.c Fri Mar 30 23:26:46 2001
+@@ -2,6 +2,9 @@
+
+ #include "driver.h"
+
++/* The heavy use of INLINE in this file causes memory explosion in egcs. */
++#undef INLINE
++#define INLINE static
+
+ #ifdef LSB_FIRST
+ #define SHIFT0 0
+@@ -34,7 +37,7 @@
+ return (*((UINT8 *)address ) << SHIFT0) +
+ (*((UINT8 *)address+1) << SHIFT1) +
+ (*((UINT8 *)address+2) << SHIFT2) +
+- (*((UINT8 *)address+3) << SHIFT3) );
++ (*((UINT8 *)address+3) << SHIFT3);
+ }
+ else
+ return *(UINT32 *)address;