summaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorkristerw <kristerw>2003-07-19 21:02:33 +0000
committerkristerw <kristerw>2003-07-19 21:02:33 +0000
commite319d2073da6e938b7113389bbfb79a9c5fbcaf4 (patch)
tree383ec553d0eec2f6a2c1655c94c78398eb39f49e /emulators/xmame
parent9ee643b4dea821d8f5cccddbe008227cb8af56e9 (diff)
downloadpkgsrc-e319d2073da6e938b7113389bbfb79a9c5fbcaf4.tar.gz
Update xmame to 0.71.1.
Changes since 0.70.1 includes: - Everything from MAME 0.71 and MESS 0.71. - The man page xmame.6 is much more up-to-date. (Andrew Burton)
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile6
-rw-r--r--emulators/xmame/distinfo7
-rw-r--r--emulators/xmame/patches/patch-ab38
3 files changed, 45 insertions, 6 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 159b10732ea..7aed72b785b 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.97 2003/07/17 21:36:30 grant Exp $
+# $NetBSD: Makefile,v 1.98 2003/07/19 21:02:33 kristerw Exp $
#
-DISTNAME= xmame-0.70.1
+DISTNAME= xmame-0.71.1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
@@ -94,7 +94,7 @@ post-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${TARGET}.${MAME_DISP_METHOD} \
${PREFIX}/bin/${TARGET}
- ${INSTALL_MAN} ${WRKSRC}/doc/xmame.6 \
+ ${INSTALL_MAN} ${WRKSRC}/doc/${TARGET}.6 \
${PREFIX}/man/man6/${TARGET}.6
${INSTALL_DATA_DIR} ${ROMPATH}
${INSTALL_DATA} ${WRKSRC}/doc/${TARGET}rc ${ROMPATH}/${TARGET}rc
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index e59ff884b57..690ef0439d4 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.38 2003/06/19 17:12:02 kristerw Exp $
+$NetBSD: distinfo,v 1.39 2003/07/19 21:02:33 kristerw Exp $
-SHA1 (xmame-0.70.1.tar.bz2) = f58c45a99b1781633ce34e2a36a529b9b5f95d0b
-Size (xmame-0.70.1.tar.bz2) = 9940156 bytes
+SHA1 (xmame-0.71.1.tar.bz2) = 7c4db88a4db07572716e4fbbaa4a8684d9a2c428
+Size (xmame-0.71.1.tar.bz2) = 10051496 bytes
SHA1 (patch-aa) = cf7e599022fe0b3bc6f12d57c4c2d5ece7d82d0a
+SHA1 (patch-ab) = 1863de01acf0c805f2dc7fad78e04ec052e5e4f9
SHA1 (patch-ad) = 1d9726bb43e53da8f8edc56d4aa0929d890496d0
SHA1 (patch-ae) = df9ce91871bfcff611ff8f616482d4ff2e8204a3
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
new file mode 100644
index 00000000000..11de4d32445
--- /dev/null
+++ b/emulators/xmame/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.19 2003/07/19 21:02:33 kristerw Exp $
+--- src/vidhrdw/gaiden.c.orig Sat Jul 19 21:01:17 2003
++++ src/vidhrdw/gaiden.c Sat Jul 19 21:03:44 2003
+@@ -378,22 +378,25 @@
+
+ if (attributes & 0x04)
+ {
++ UINT32 priority, flipx, flipy, color, sizex, sizey, number;
++ int ypos, xpos;
++
+ if (!blend_support && (attributes & 0x20) && (cpu_getcurrentframe() & 1))
+ goto skip_sprite;
+
+- UINT32 priority = (attributes >> 6) & 3;
+- UINT32 flipx = (attributes & 1);
+- UINT32 flipy = (attributes & 2);
++ priority = (attributes >> 6) & 3;
++ flipx = (attributes & 1);
++ flipy = (attributes & 2);
+
+- UINT32 color = source[2];
+- UINT32 sizex = 1 << ((color >> 0) & 3); /* 1,2,4,8 */
+- UINT32 sizey = 1 << ((color >> gaiden_sprite_sizey) & 3); /* 1,2,4,8 */
++ color = source[2];
++ sizex = 1 << ((color >> 0) & 3); /* 1,2,4,8 */
++ sizey = 1 << ((color >> gaiden_sprite_sizey) & 3); /* 1,2,4,8 */
+
+ /* raiga needs something like this */
+- UINT32 number = (source[1] & (sizex > 2 ? 0x7ff8 : 0x7ffc));
++ number = (source[1] & (sizex > 2 ? 0x7ff8 : 0x7ffc));
+
+- int ypos = source[3] & 0x01ff;
+- int xpos = source[4] & 0x01ff;
++ ypos = source[3] & 0x01ff;
++ xpos = source[4] & 0x01ff;
+
+ color = (color >> 4) & 0x0f;
+