Subject: CVS commit: pkgsrc/emulators/xmame
From: Krister Walfridsson
Date: 2004-09-05 22:40:26
Message id: 20040905204026.A66B82DA1D@cvs.netbsd.org

Log Message:
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)

Files:
RevisionActionfile
1.118modifypkgsrc/emulators/xmame/Makefile
1.56modifypkgsrc/emulators/xmame/distinfo
1.28removepkgsrc/emulators/xmame/patches/patch-ab