summaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-09-05 20:40:26 +0000
committerkristerw <kristerw@pkgsrc.org>2004-09-05 20:40:26 +0000
commit5a5368bed7e4dbbcfbf1db50fc55e5e9b96f38c4 (patch)
tree5aac2bd0b5772ba2f58573d75058786a65809b04 /emulators/xmame
parentb479540a2c5010d50292b61fda5df4ae8d5ed425 (diff)
downloadpkgsrc-5a5368bed7e4dbbcfbf1db50fc55e5e9b96f38c4.tar.gz
Update xmame to 0.86.
Changes since 0.85 include: - Everything from MAME 0.86 (http://x.mame.net/changes-mame.html) and MESS 0.86 (http://x.mame.net/changes-mess.html). - Fixed buffer overruns in the effects and rotation code that caused a segfault on exit for some games with artwork enabled. - Fixed memory leaks in the effects and rotation code that occurred when the display settings changed. - XInput was probably limited to two controllers in 0.85, but should again support up to four. - When "-norotate(-nr)" is specified, the UI is no longer rotated relative to the game. (Hans de Goede) - Did major cleanup of the blit core (Hans de Goede): * Rotation should be a bit faster. * Defining DEST is no longer optional; targets that don't define it will need to be fixed. * Removed a bunch of obsolete #defines and special cases. * Added support for vector clipping, which fixes mhavoc. * Removed fixed Y scaling, since the arbitrary Y scaling is not noticeably slower. * Removed LOW_MEM from the makefile; blit.h is now so small, it should no longer be needed. - The C version of the 6-tap filter rotates pointers now instead of using memcpy, which should give a small speed boost. It also no longer reallocates a rotation buffer. (Hans de Goede) - Adjusted a few tests to make sure that every combination of compiling in XIL, MITSHM, and Xv will work and that the fallback order is Xv -> MITSHM -> normal X11. (Hans de Goede) - The Xv driver no longer uses "-geometry", since this requires users to know the aspect ratio of a game. It instead uses "-widthscale" and "-heightscale". (Hans de Goede) - Added "-perfect-yv12", which uses perfect Xv YV12 scaling instead of the widthscale == 2 && heightscale == 2 hack. (Hans de Goede) - Added support for displaying 32bpp bitmaps on a 16bpp X11 or 3Dfx display by down-sampling. (Hans de Goede) - Added rotation for Xv YV12 displays. (Hans de Goede) - Sometimes Xv Image creation succeeds, but the first XvShmPutImage to a mapped window fails with a BadAlloc error; also, sometimes it can create an Image smaller than the requested size. In such cases, the code now falls back to another Image type instead of crashing later. (Hans de Goede) - Fixed problems in the X11 display target (Hans de Goede): * Free cursors on close. * Call close when display creation fails to clean up after us. * Comment out sleep calls, which shouldn't be necessary since XSync should only exit after everything has been processed. * Removed x11_window_put_image in favor of x11_window_refresh_screen since dirty rectangles are no longer supported. * Worked around an X11 bug that caused keys to get stuck when fullscreen DGA mode was exited. - The display should no longer open twice for artwork games: The setup code wasn't rounding the display bounds as it should have. - Effects now use CORRECTED_DEST_WIDTH and *may* work with PACKEDPIXEL modes. (Hans de Goede) - Adjusted the display bounds rounding so that the resulting rectangle is at least as large as the original. This prevents the cutoff on the right side of the intro screen for, e.g., pacman with artwork. - Fixed problems with aspect ratio calculation (Hans de Goede): * Fixed problems with SVGAlib, DGA, and possibly other display targets when arbitrary Y scaling was used. * Games whose bitmap isn't 4:3, such as pacman and moo, no longer show black borders with Xv. * Added correct aspect ratio calculation to Xv when games have double width or double height pixels; for example, blstroid. * The Xv aspect ratio honors "-displayaspectratio". * Removed the "-widescreen" option in favor of "-displayaspectratio 1.77". * Pixel width and height doubling is now correct when "-[auto]ro{r|l}" is used. - The "-bpp" option now only supports 15 or 32. (Hans de Goede) - Joystick buttons are no longer always registered as "button 9" in the configuration menu. Fixes Bugzilla bug 587. (Thomas Klausner)
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile5
-rw-r--r--emulators/xmame/distinfo7
-rw-r--r--emulators/xmame/patches/patch-ab13
3 files changed, 5 insertions, 20 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 096e9577a61..ed1151e42fe 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.117 2004/08/25 01:20:11 wiz Exp $
+# $NetBSD: Makefile,v 1.118 2004/09/05 20:40:26 kristerw Exp $
#
-DISTNAME= xmame-0.85
-PKGREVISION= 1
+DISTNAME= xmame-0.86
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index 2ed3d075d7c..bc525b7d72a 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.55 2004/08/25 01:20:11 wiz Exp $
+$NetBSD: distinfo,v 1.56 2004/09/05 20:40:26 kristerw Exp $
-SHA1 (xmame-0.85.tar.bz2) = 6d8b198ee4f97a197a1173860c981283947dbcb6
-Size (xmame-0.85.tar.bz2) = 14447207 bytes
+SHA1 (xmame-0.86.tar.bz2) = 133e8959cf4078faa10adaf0cbd5059655450123
+Size (xmame-0.86.tar.bz2) = 14538952 bytes
SHA1 (patch-aa) = 0b9ffcb7c4305e7c349f229b2646acb31553d549
-SHA1 (patch-ab) = 5d3fce8477ce0be1b7ea5f9da67495209f14a407
SHA1 (patch-ae) = df9ce91871bfcff611ff8f616482d4ff2e8204a3
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
deleted file mode 100644
index 37857438dc6..00000000000
--- a/emulators/xmame/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.28 2004/08/25 01:20:11 wiz Exp $
-
---- src/unix/devices.c.orig 2004-08-13 06:30:14.000000000 +0200
-+++ src/unix/devices.c
-@@ -971,7 +971,7 @@ static void init_joycodes(void)
- }
- for (button = 0; button < JOY_BUTTONS; button++)
- {
-- snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , axis + 1);
-+ snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , button + 1);
- add_joylist_entry(tempname, JOYCODE(stick, CODETYPE_BUTTON, button), CODE_OTHER_DIGITAL);
- }
- }