Commit graph

76 commits

Author SHA1 Message Date
nia
0e3caba64f snes9x: Use minizip. Add wayland and portaudio options to the gtk variant.
Bump PKGREVISION
2020-04-01 10:08:15 +00:00
nia
4ef3ba031e emulators/snes9x: Update to 1.60
Changes since 1.59.2:

- Fixed subscreen blending with master brightness < 100%.
- Fixed NMI timing when toggling enable bit. Fixes Chou Aniki--hack removed.
- Reverted an IPL map optimization that misses a weird edge case that caused
  The Great Battle III to lock up.
- Clamp MSU1 addition to max amplitude instead of wrapping. Proper MSU1 tracks
  will not be affected by this.
- Save mipmap_input parameter with customized GLSL and slang shaders.
- Actually use mipmap_input parameter.
- Optimized subscreen math with help from Dwedit.
- Revert to measured APU clock speed instead of nominal speed. Fixes An
  American Tail.
- Fixed broken BPS patch support. (ArtiiP)
- Fixed MSU1 track restarting on load state.

libretro:
- Added ability to use Satellaview data in same directory as ROM.
- Fixed deviation from proper libretro spec.
- Added option to use the software NTSC filter. (stellarporter)

GTK:
- Added icons to the entries to clear binding assignments.
- Fixed overlap in xBRZ multithreading.
- Changed glFenceSync option to an OML_sync option that works better.
- Fixed accumulation of partial pixel data on mouse motion when we update the
  mouse position more than once per frame.
- Allow one key to be bound to many controller buttons on the same controller.
- Force menu and button icons.
- Add the view menu to right-click when SNES mouse isn't used.
- Remove unused status bar option.
- Startup background can be changed in snes9x.conf.
- Improved PortAudio driver.

Unix:
- Fixed sound output that broke with APU refactor.
2019-04-25 13:06:58 +00:00
nia
1fff922d49 snes9x: Update to 1.59.2
Changes:

- Count clock cycles to synchronize SA1 with S-CPU properly. Based mostly on
  work by Vitor Vilela.
- Only allow instant IRQ when toggling IRQ. Fixes WWF - Wrestlemania.
- Refactored APU output code to buffer less on the client side. Removed 8-bit,
  Mono, and Reverse Stereo options.
- Consistently handle interlacing when we skip frames.
- Changed APU clock to reflect nominal values for original hardware.
- Fix C4 square instruction regression.

libretro:
- Fix multiline cheats.

GTK+:
- Switch from autotools to Meson build system.
- Readd glFinish option as alternative to glFenceSync.
- Fix size fallthrough with xBRZ filter.
- Fix loading of key bindings with spaces in them and modifier keys used alone.
- Add support for libretro ".slang" shaders to OpenGL driver.
- Use a cleaner onscreen font.
- Trap errors to allow OpenGL <= 2.1 to run again.
- Break display settings up to make it easier to access hardware accel section.
2019-03-05 12:12:31 +00:00
nia
a2d6809c86 snes9x: Avoid colliding with libc functions properly. 2019-01-04 23:34:36 +00:00
nia
15c5e62750 snes9x: fix fetching distfiles⇧s 2019-01-03 21:51:18 +00:00
nia
4200c5a37e emulators/snes9x: Rename a function from log2 to log2l to avoid problems
with libc collisions on certain platforms.
2019-01-02 11:25:32 +00:00
nia
cac8d6c9fc emulators/snes9x[-gtk]: update to 1.58.
also, rework gtk libretro-snes9x to use emulators/snes9x/Makefile.common

take maintainership since i was basically maintaining the libretro package
which was already the most up to date version in pkgsrc and now everything
uses Makefile.common.

Changelog:

Snes9x 1.58
- Move the LICENSE file to the base directory and use a stub
  in all the source files referring to it.
- Adjust Chou Aniki timing hack.
- Use 1-based numbering when displaying pressed keys.
- Hide controller port if disabled when displaying keys.
- Fix movie playback. (OV2, BearOso)

 libretro:
- Fix interlaced modes when overscan crop is enabled.
- Allow overriding -flto. (orbea)

 GTK+:
- Use shared snes_ntsc implementation.
- Remove extra LGPL licensing to avoid confusion.
- Don't translate config file entries. Fixes breakage on
  non-C languages.
- Fix issue where config file doesn't contain all configurable
  entries.
- Remove config options for Netplay, Joystick, and JMA. SDL 2.0
  is now mandatory.
- Updated gettext and removed intltool. update-po should now catch
  all translatable strings.
- If available, reduce input lag option will now use fences instead
  of glFinish to prevent hogging the CPU.
- Onscreen text can be variable width and will show up in some more
  cases now.

 Win32:
- Add audio device selection (XAudio2 only)

Snes9x 1.57
- Various seta010 emulation fixes.                          (kps501)
- Pass blargg OAM tests with proper write behavior.         (BearOso)
- Prevent interlacing in BG modes 1-4.                      (BearOso)
- Corrected IRQ and NMI emulation to allow more games to
  work properly.                                            (BearOso, OV2)
- Use 1 instead of 0 for initial PPU left window coordinate,
  fixing garbage in left column of pixels in some games.    (turhope)
- Added interpolation option hack for DSP.                  (kps501, mudlord,
                                                            BearOso)
- Added sprite-tile limit disabling hack.                   (Tatsuya79)
- Added libretro's fast snapshot support.                   (OV2)
- Add overclocking hack that increases IPC                  (retrotalker)
- Fix controller initialization issues preventing some games
  from using multitap.                                      (retrotalker)
- Proper write behavior for register $2122.                 (BearOso)
- Fix transparency issue with Star Fox asteroids.           (redguy, BearOso)
- Increase SuperFX speed to more accurately represent
  hardware, and fix bugs with Stunt Race FX and Yoshi's
  Island.                                                   (BearOso)
- Resize viewport on state load.                            (retrotalker)
- Many fixes to variables not saved or saved incorrectly in
  save states.                                              (Dwedit)
- Pass decimal tests in blargg's math test ROMs.            (BearOso)
- Remove memory leak in loadzip.cpp.                        (bonimy)
- Fix screen size not reverting when overscan is turned on
  then off mid-frame.                                       (BearOso)

 Win32:
- Include DirectDraw libraries and compile with DirectDraw
  support by default.                                       (OV2)
- Add a link to DirectX installer in error message displayed
  when the needed DirectX libraries can't be found.         (OV2)
- Save window position when exiting via menu                (OV2)
- Make custom ROM dialog resizable.                         (OV2)
- Fix various cheat dialog issues.                          (OV2)
- Remove d3d9x DLL dependency by using DirectXMath.         (OV2)
- Remove rarely-used HLSL shader option.                    (OV2)
- Add InitialSnapshotFilename support.                      (BearOso)
- Disable BG toggle keys by default.                        (BearOso)
- Proper centering and cropping for overscanned and
  regular height modes.                                     (OV2)
- Remove ability to disable the SNES's hires modes.         (OV2)
- Added a Super Famicom-style icon resource to the EXE.     (BearOso)

 MacOS:
- Partial support for new cheats format.                    (OV2)
- Fix MacOS build.                                          (marconett)
- Set default for new config options.                       (tmkk)
- Fix compilation on Mac OS Mojave                          (meepingsnesroms)

 libretro:
- Massive update of libretro code to latest downstream.      (fr500, kps501,
                                                             OV2, twinaphex,
                                                             BearOso,
                                                             hiddenasbestos,
                                                             m4xw, kxyxz,
                                                             claudiuslollarius)

 GTK+:
- Use datarootdir instead of datadir on install.            (orbea)
- Fix --with-system-zip configure flag.                     (BearOso)
- Draw interlaced fields when ready.                        (BearOso)
- Initial Wayland support.                                  (remicalixte)
- Allow XV only in X11.                                     (BearOso)
- Add Wayland support via EGL.                              (BearOso)
- Significant rewrite of OpenGL driver to support newer
  standards. This won't work on cards < OpenGL ~1.5.        (BearOso)
- Changed frameskip option to speed throttling option with
  simpler, but more relevant methods of speed control.      (BearOso)
- Add support for relative-style save slots.                (ichigo-0, BearOso)
- Remove XML config file format in favor of one more like
  Win32. Make joystick bindings and more options human-
  readable and editable.                                    (BearOso)
- Try more device nodes when initializing OSS.              (BearOso)

Snes9x 1.56.2
- Fixed IRQ corner case that caused Umihara Kawase's water
  to cover the whole screen.                                (BearOso)
- Adjusted IRQ timing slightly. Fixes Dragon Ball Z - Super
  Butouden 2.                                               (BearOso)
- Clear WAI when IRQLine is active. Fixes Top Gear 3000.    (BearOso)
- Fix reading the wrong tile data in mosaic drawing. Gets
  rid of glitch at top of FF6 battle transitions.           (BearOso)
- Break a specific opcode into cycles. Fixes Little Magic.  (BearOso)
- Win32: Don't mix garbage into the last line with NTSC
  filter.                                                   (OV2)
- Win32: Allow disabling scanlines in NTSC filter.          (BearOso)
- GTK+: Added an undo load state option.                    (BearOso)
- GTK+: Fixed compilation on big-endian systems.            (OV2)
- Win32, GTK+: Added integer scaling option.                (BearOso)
- GTK+, Unix: Preserve current joypad state when rewinding. (BearOso)

Snes9x 1.56.1
- Automatic input rate now only works for close multiples   (BearOso)
  of 60Hz.
- Win32: Cheats are now shown in the correct order in the   (BearOso)
  list view.
- GTK+: Check for version greater than 3.22 when using GTK+ (BearOso)
  3.
- GTK+: Don't resize code and description field in GTK+ 2.  (BearOso)

Snes9x 1.56
- Increased the speed of SA1 emulation to match hardware    (BearOso)
  more closely.
- Fixed negative SA1 division                               (BearOso, Jonas Quinn)
- Changed the location where we poll input to potentially   (Brunnis, BearOso)
  reduce lag.
- Fixed the interlace fields being swapped after skipping   (BearOso)
  frames.
- More updates for BS-X support.                            (LuigiBlood)
- Updated xBRZ to version 1.6.                              (zenju, OV2)
- Added a DMA timing hack for rpgone's Koryu no Mimi        (OV2)
  translation.
- Updated HDMA to not update indirect addresses until after (BearOso)
  transfers are completed.
- Improved cheats support. This stores cheats in a human-   (BearOso, OV2)
  readable and editable format as gamename.cht. Cheats are
  converted from the old format on load. They can be added
  in many different formats, but they will convert to the
  simple address=condition?byte format.
  Also, now included is mightymo's cheat database, and the
  ability to match a game and automatically load cheats
  from it.
- Don't reset a pending NMI on vblank end. Fixes Super      (furrykef)
  Punch-Out.
- Redo NMI timing. Fixes Secret of Evermore (PAL).          (BearOso)
- Test for transparency before dithering on SuperFX. This   (RedGuy(yyy))
  fixes some graphical artifacts in Star Fox.
- Change some of the SDD1 guesswork mapping. Fixes a Tales  (BearOso)
  of Phantasia hack.
- Return PPU1 MDR for reads of $2137 instead of CPU MDR.    (BearOso)
  Fixes Mario's Time Machine graphical glitch.
- Memset less memory for sprite calculations.               (Nebuleon)
- Don't spuriously update register 14 when running SuperFX. (BearOso)
  Fixes graphical glitches in Doom.
- Added a SuperFX clock modifier variable.                  (BearOso)
- Write CPU MDR during some DMA and HDMA transfers. Fixes   (BearOso)
  Speedy Gonzales and Funaki Masakatsu Hybrid Wrestler.
- Calculate next IRQ time in advance instead of continously (BearOso, OV2)
  checking for it.
- Added some IRQ timing quirks. Fixes at least Marko's      (BearOso, OV2)
  Magic Football.
- Fixed wrong tile selection in offset-per-tile mode.       (BearOso)
- Advance the VRAM pointer even if VRAM writes at the time  (kps501)
  are invalid.
- Return 0x80 instead of 0xff in DSP1 simulation. Fixes     (kps501)
  Powerfest '94 Mario Kart.
- Initialize controllers on reset. Fixes Looney Tunes       (kps501)
  B-Ball multitap.
- Attached APU instruction tracer and made some additions   (BearOso)
  to debugging output.
- Fix line doubling in interlaced mode.                     (kps501)
- Added support for M.A.C.S. rifle peripheral.              (kps501)
- Fixed a bug where the MSU1 channels were reversed.        (qwertymodo)
- Win32: Added dynamic rate control support for XAudio2     (OV2)
- Win32: Added different volume level configuration for     (OV2)
  regular and turbo speed.
- Win32: Added option to disable EPX scaling for messages   (OV2)
- Win32: Improve multi-rom loading.                         (OV2)
- Win32: Add libpng and zlib dependencies as submodules for (qwertymodo, OV2)
  easier compiling from source.
- Win32: Fixed icon registration.                           (OV2)
- Win32: Better support for running while unfocused.        (OV2)
- Win32: Changed icon.                                      (BearOso)
- Win32: Report hidpi support.                              (BearOso)
- Win32: Added mute hotkey and hotkeys for saving/loading   (OV2)
  from file.
- Win32: Disabled hotplugging in favor of a menu option to  (OV2)
  reconfigure joysticks.
- Win32: Added a reduce input lag option.                   (BearOso)
- Win32: Added ability to use GLSLP shaders with OpenGL,    (OV2)
  including a dialog to tweak custom parameters.
- GTK+: Added dynamic rate control support for audio to     (BearOso)
  reduce buffer overflows and underflows.
- GTK+: Increased SDL requirement to version 2.0. This      (BearOso)
  improves joystick compatibility.
- GTK+: Improved GTK+ 3.0 support and made it the default.  (BearOso)
- GTK+: Added ability to start from a snapshot on the       (julien2512)
  command line.
- GTK+: Added automatic input rate handling.                (BearOso)
- GTK+: Use 16-bit 5-6-5 pixel format for better colors.    (BearOso)
- GTK+: Now disables the compositor in fullscreen mode.     (BearOso)
- GTK+: Changed icon.                                       (BearOso)
- GTK+: Require libepoxy for OpenGL support.                (BearOso)
- GTK+: Add full compatibility with GLSLP shaders, with a   (BearOso)
  parameters dialog to configure them.
- Unix: Add xinerama support and window position hints.     (Francesco149)

Snes9x 1.55
- Added support for the MSU-1 coprocessor.                  (qwertymodo)
- Added support for MSU-1 distribution pack.                (qwertymodo)
- Added support for BS-X Satellaview memory packs and data  (LuigiBlood)
  files.
- Improved BS-X memory mapping accuracy.                    (LuigiBlood)
- Fixed APU error causing issues with some games.           (byuu, qwertymodo)
- Added option to ignore patch checksums.                   (qwertymodo)
- Fixed build warnings / undefined behavior.                (bonimy)
- Correct pixel placement in hires.                         (BearOso, OV2)
- Fixed RAM mapping for Light Fantasy.                      (hex_usr, BearOso)
- Added Circuit USA APU timing hack.                        (BearOso)
- libretro: Merged some changes from downstream repository. (OV2)
- GTK+: Allow use of XDG config directory.                  (BearOso)
- GTK+: Add 10th save slot.                                 (YamashitaRen)
- GTK+: Updated Spanish translation.                        (jristz)
- Win32: Switched to Studio 2017.                           (OV2)
- Win32: Fixed problems when minimized in d3d.              (OV2)
- Win32: Split Patch/Rom directory.                         (OV2)
- Win32: Simplified compilation by removing or including
  some dependencies (included CG headers, completely
  removed FMOD and FMOD_EX, moved direct draw to compile
  switch) and reworking solution/configurations.            (bonimy, OV2)
- Win32: Fixed crash with movie dialog                      (OV2)
- Win32: Changed hotplugging                                (OV2)

Snes9x 1.54.1
- GTK+: Properly use --std=c++11 when compiling xBRZ.       (BearOso)
- Win32: Save window position when toggling fullscreen.     (OV2)
- Win32: Do not assign down-left binding to down-right.     (OV2)

Snes9x 1.54
- Changed the S-SMP core module to one written by byuu.     (byuu, BearOso)
  This has the effect of increased accuracy, fewer
  speed hacks, but also regresses a few speed-hack games.
- Improved IRQ emulation in several cases.                  (OV2)
- Added rewind support.                                     (Themaister, OV2)
- Included libretro port.                                   (OV2, libretro team)
- Added bps soft-patching support                           (OV2)
- Fixed MMC bank register bit 7, restored 64mbit ExLoRom
  map                                                       (FuSoYa)
- GTK+, Windows: Added xBRZ filter                          (Zenju, OV2, nmagre)
- GTK+: Fixed several issues with GTK+3.                    (BearOso)
- GTK+: Added extra aspect ratio options.                   (BearOso)
- GTK+: Added option to mute sound when using turbo mode.   (BearOso)
- GTK+: Fixed expose handling to reduce overdraw and        (BearOso)
  improve performance.
- GTK+: Updated and universalized Spanish translation.      (jristz)
- Unix: Added Xv support and fixed several bugs.            (greg-kennedy)
- Win32: Added CG meta shader support                       (OV2, Themaister)
- Win32: Added support to detect joypad changes             (OV2)
- Win32: Fixed unicode command line parameters,
  Fixed controller command line parameters                  (OV2)
- Win32: Added quit hotkey                                  (OV2)
- Win32: Fixed custom rom dialog                            (OV2)
- Win32: Fixed various cheat dialog issues                  (gocha, OV2)
- Win32: Added hotkey for fast forward toggling             (gocha)
- Win32: Added drag and drop support for movies             (gocha)
- Win32: Fixed blargg filter for regular width hires        (OV2)
- Win32: Fixed snapshot loading from unicode paths          (OV2)
- Win32: Changed open-with file-association method, should
  no longer change explorer icons for otherwise
  unassociated extensions; removed legacy extensions        (OV2)

Snes9x 1.53

- Rebuilt IRQ handling.                                     (zones)
- Improved overall timings, now Snes9x can handle events in
  a opcode a little.                                        (zones)
- Improved screen interlace and sprite interlace supports.  (OV2, zones)
- Fixed Hi-Res pixel plotter.                               (BearOso, zones, OV2)
- Fixed C4 for Mega Man X2's "weapon get" screen.           (Jonas Quinn)
- Fixed Super Buster Bros. graphics after reset.            (Jonas Quinn)
- Improved SA-1 support.                                    (zones)
- Added SA-1 CC2 support.                                   (Jonas Quinn, byuu)
- Fixed SA-1 NMI override mode.                             (zones)
- Fixed Dual Orb 2 sound glitch.                            (byuu)
- New APU timing hack, fixes various games that exhibit
  problems with Blargg's SNES_SPC library.                  (OV2)
- Fixed the problem that echo buffer breaks IPL ROM.        (zones, OV2)
- Fixed movie snapshot unfreeze inconsistency.              (gocha)
- Faster config file saving.                                (OV2)
- Fixed BlockInvalidVRAMAccess config file option.
  (windows port, unix port and gtk legacy config)           (Jonas Quinn)
- Remove POSIX dup and access calls, and rename qword to
  fix compilation with Cell SDK.                            (BearOso)
- Fixed PS3 version save state crash by using heap
  allocation for soundsnapshot.                             (danieldematteis)
- Fixed crash relating to double-closed descriptor.         (BearOso)
- Removed CPUShutdown speedhack, DisableHDMA and
  DisableIRQ options.                                       (zones)
- Removed remaining outdated asm code.                      (zones)
- JMA 64 bit support.                                       (kode54, Nach, friedrich.goepel)
- GTK+, Win32, Mac: Added optional Hi-Res blending.         (BearOso, OV2, zones)
- GTK+, Win32: Support for bsnes-style XML shaders.         (BearOso, OV2)
- Win32: Full unicode support.                              (OV2)
- Win32: Restored OpenGL mode.                              (OV2)
- Win32: x64 version.                                       (OV2)
- Win32: HLSL shader support.                               (mudlord)
- Win32: Win7 jumplist synchronizes with recent roms list.  (OV2)
- Win32: Updated menu structure.                            (OV2)
- Win32: Drag&Drop support for ROMs.                        (gocha, OV2)
- Win32: Reworked movie-recording with size selection.      (gocha, OV2)
- Win32: Restored SPC save option.                          (OV2)
- Win32: Fixed vsync in DirectDraw.                         (OV2)
- Win32: Improved window position saving.                   (OV2)
- Win32: Restored compile with DEBUGGER.                    (gocha)
- Win32: Fixed various edge-case errors and/or possible
  leaks.                                                    (Brian Friesen)
- Win32: Config file option to always center image.         (OV2)
- Win32: Fixed "Turbo Down mode" hotkey assignment.         (gocha)
- Win32: Added and fixed Autofire for D-pad.                (gocha)
- Win32: Fixed aggressive soundsync wait.                   (OV2)
- Win32: Added window size presets.                         (OV2)
- Mac  : Added pause and frame advance functions.           (zones)
- Mac  : Now you can choose any folder for saving files.    (zones)
- Mac  : Updated Music Box (mostly internally).             (zones)
- Mac  : Fixed gliches in open/save dialogs on 10.6.        (zones)
- Mac  : Fixed display configuration in windowed mode.      (zones)
- Unix : Fixed segfault and hang-up with -DNOSOUND.         (zones)
- GTK+ : Added ability to set specific folders for SRAM,
  patches, snapshots, etc.                                  (BearOso)
- GTK+ : Fixed many permissions issues with config folders. (BearOso)
- GTK+ : Updated compatibility with latest GTK+ and
  GtkBuilder. Added experimental support for GTK+ 3.x.      (BearOso)
- GTK+ : Updated software output to use cairo and added the
  ability to use bilinear-filtering with it.                (BearOso)
- GTK+ : Fixed issues where cheats wouldn't stay enabled.   (BearOso)
- GTK+ : Fixed focus issue when there is no window manager. (BearOso)
- GTK+ : Fixed X Visual incompatibilities and expose
  problems in the Xv and OpenGL outputs.                    (BearOso)
- GTK+ : Fixed vsync with new X Server and NVIDIA drivers.  (BearOso)
- GTK+ : Added "Reduce input lag" option to OpenGL output.  (BearOso)
- GTK+ : Added a visual indication of the expected video
  refresh rate for the currently selected sound input rate. (BearOso)

Snes9x 1.52
- IMPORTANT NOTICE: The structure of savestates (also known
  as snapshots / freeze files) is incompatible with older
  versions! Snes9x 1.52 cannot read the savestates created
  by 1.51 or older.                                         (zones)
- Highly acculate SPC700 and S-DSP emulation.               (Blargg)
- Replaced APU emulation cores (SPC700 and S-DSP) with
  ones provided by Blargg's SNES_SPC library. This renders
  savestates incompatible with older versions.              (BearOso, zones)
- SPC7110 emulation.                                        (byuu, neviksti)
- Merged bsnes' SPC7110 emulation code. Note that the .rtc
  file of Far East of Eden Zero is incompatible with older
  versions.                                                 (zones)
- Removed graphics pack support. It's no more necessary.    (zones)
- Replaced S-RTC emulation code with bsnes' one to keep the
  good compatibility of .rtc files between the two
  emulators. As a result, Daikaijuu Monogatari 2 now
  outputs the .rtc file, and its .srm file is incompatible
  with older versions.                                      (zones)
- Added savestate supports for DSP-2, DSP-4, ST-010 and
  OBC1.                                                     (zones)
- Added UPS support.                                        (byuu)
- Fixed DSP-4 AI problem.                                   (Jonas Quinn)
- Fixed invalid memory accesses in C4 and OBC1 codes.       (zones)
- Fixed invalid memory accesses in BSX codes. My mistake.   (zones)
- Fixed the read value of $213e, $4210 and $4211.           (zones)
- Fixed the writing of word values at the memory boundary.  (zones)
- Fixed the bug that the unnecessary SA-1 emulation
  continues once any SA-1 games are launched.               (zones)
- Removed old color blending codes.                         (zones)
- Removed too-old Snes96 and ZSNES snapshot support.        (zones)
- Updated command-line options.                             (zones)
- Code cleaning.                                            (zones)
- GTK+ : Added a port of Snes9x to the GTK+ toolkit.        (BearOso)
- Unix : Reconstructed and simplified all the contents.
  Some features have been removed to be simple, and many
  options have changed. GTK+ port is recommended for most
  of Linux users.                                           (zones)
- Win32: Now uses snes9x.conf to prevent problems with
  modified meaning of settings.                             (OV2)
- Win32: Removed broken OpenGL mode.                        (OV2)
- Win32: Removed support for 8bit output.                   (OV2)
- Win32: Reworked settings dialogues to accomodate the
  new APU core and display settings.                        (OV2)
- Win32: Updated defaults to use D3D and XA2 (better
  Vista and Win7 support).                                  (OV2)
- Win32: Direct3D and XAudio2 support.                      (OV2)
- Win32: Added Blargg's ntsc filter (three presets).        (OV2)
- Mac  : Fixed corrupted screenshot on Intel Mac.           (zones)
- Mac  : Fixed sudden abort in QuickTime movie export on
  Intel Mac.                                                (zones)
- Mac  : Changed sound settings for the new APU core.       (zones)
- Mac  : Changed the default folder which Snes9x looks for
  to 'Application Support' folder.                          (zones)
- Mac  : Changed folder names: 'IPSs' -> 'Patches',
  'BIOSs' -> 'BIOSes'.                                      (zones)
- Mac  : Added Blargg's ntsc filter.                        (zones)
- Mac  : Internal changes for Leopard and Snow Leopard.     (zones)

Snes9x 1.51
- Added DSP1 and SuperFX savestate support.                 (nitsuja)
- Added screen state GFX to save states. (optional)         (nitsuja)
- Fixed desync when loading inconsistent state in playback. (nitsuja)
- When playback reaches a movie's end, recording continues
  instead of the movie suddenly closing. (after recording)  (nitsuja)
- can now record resets and mouse/superscope/justifier(s)   (nitsuja)
- Added same-line-comment support for config files.         (nitsuja)
- input display for all controllers (including peripherals) (nitsuja)
- Win32: Now uses .cfg file instead of Windows registry.    (nitsuja)
- Win32: open ROM dialog bugfixes and speedup and facelift  (nitsuja)
- Win32: option to use standard file open dialog for ROMs   (nitsuja)
- Win32: maintain aspect ratio and bilinear filter stretch  (nitsuja)
- Win32: optional removal of the dreaded "black bar"        (nitsuja)
- Win32: Added EPX,EPX2,EPX3,HQ2X,HQ3X,TV3X,DM3X filters.   (nitsuja)
- Win32: Added hires support for Interlace and TV Mode.     (nitsuja)
- Win32: text removed from .avi output (optional)           (nitsuja)
- Win32: better directory management, customizeable         (nitsuja)
- Win32: Screenshot support is back.                        (nitsuja)
- Win32: Netplay is back (but still not very good).         (nitsuja)
- Win32: Made OpenGL Bi-linear an advanced .cfg option.     (nitsuja)
- Win32: cheat search improvements (address, watch, SuperFX)(nitsuja)
- Win32: Added non-modal ("active") cheat search option.    (nitsuja)
- Win32: new hotkey-config dialog and configurable hotkeys  (nitsuja)
- Win32: Fixed joystick config in input dialog.             (nitsuja)
- Win32: Fixed hires and extended height .avi output.       (nitsuja)
- Win32: various small GUI improvements                     (nitsuja)
- Win32: Netplay fixes.                                     (nitsuja)
- "Fake Mute" desync workaround option for movies, until
  all ports have deterministic sound.                       (Bisqwit, nitsuja)
- Fix for save state blocks > 999999 bytes.                 (Bisqwit)
- C4 games now save C4 data in save states.                 (DeHackEd)
- Unix: Framework for high-speed seeking. Specify a frame
  number in a movie, and the emulator will run at
  maximum speed to that frame. Untested.                    (DeHackEd)
- X11: Support for window exposure. When a window is
  damaged due to overlay, being iconified, etc. it will
  be repainted correctly.                                   (DeHackEd)
- Unix: parameter: -autodemo <filename> loads a movie for
  playback on startup. Only the x11 code handles this
  right now.                                                (DeHackEd)
- Unix: parameter: -oldturbo,  the turbo button renders all
  frames when fast-forwarding.                              (DeHackEd)
- Unix: parameter: -upanddown, override U+D and
  L+R protection.                                           (DeHackEd)
- Unix: parameter: -mute, currently linux only, blocks out
  audio output from your speakers while still emulating
  sound. Not fully tested.                                  (DeHackEd)
- Unix: parameter: -maxframes <target> during movie
  playback, snes9x will exit when the target is hit.        (DeHackEd)
- Unix: parameter: -keypress shows to stderr and on-screen
  the currently pressed buttons on joypad 1.                (DeHackEd)
- Unix: Stream dumping (NOT COMPLETE). With -dumpstreams,
  raw video and raw audio are dumped to videostream%d.dat
  and audiostream%d.dat, where %d increments on each CPU
  reset, starting at zero.                                  (DeHackEd)
- Unix: Non-blocking sound on Linux. It makes seeking nicer.(DeHackEd)
- Unix: Configurable sound device.                          (pierredavidbelanger)
- configure.in now requires a sufficiently new version of
  autoconf.                                                 (anomie)
- Fixed slow versions of branch opcodes.                    (anomie)
- Fixed the mosaic offset bug.                              (anomie)
- No sorting by priority in C4 command 00 00. MegaMan X2
  can go behind the legs of the intro stage boss.           (anomie)
- New RTO discovery, fixes Super Conflict: The Mideast
  title screen.                                             (anomie, byuu)
- A 1->0 transition on $2100.7 causes OAM Address Reset.    (anomie, byuu)
- The final HDMA Indirect Address load is only weird
  on the last channel of the scanline.
  Touge Densetsu Saisoku Battle problem solved.             (anomie, byuu)
- Fixed BGnVOFS bug. Only HOFS needs ~&7 update.            (byuu)
- Fixed superfluous VIRQ triggers.                          (zones)
- Fixed missing IRQ trigger just after the previous one.    (zones)
- Fixed missing IRQ while writing to $4200.                 (zones)
- Fixed IRQ timing after WRAM refresh.                      (zones)
- Fixed NMA timing after DMA transfer.                      (zones)
- Fixed superfluous auto-joypad-reading.                    (zones)
- Fixed missing WRAM refresh during DMA transfer.           (zones)
- Fixed DMA so that HDMA and any HC triggered events can
  run during DMA transfer.                                  (zones)
- Roughly fixed the case that HDMA and DMA use the same
  channel at the same time. HDMA kills DMA. Thanks byuu.    (zones)
- Changed initial DMA registers values.                     (zones)
- Slightly modified APU execute timings.                    (zones)
- Fixed APU I/O registers to get/set the proper value.      (zones)
- Blocked invalid VRAM writings, though you can turn off
  this option due to Snes9x's inaccurate timings.           (zones)
- Omitted SPCTOOL, no one uses it.                          (zones)
- Added Sufami Turbo support.                               (zones)
- Added Same Game add-on cart support.                      (zones)
- Fixed HiROM SRAM and DSP1-4 memory maps a little.         (zones)
- Improved mirroring.                                       (Nach, grinvader, byuu)
- CRC32 on BS dumps now follows uCONSRT standard.           (Nach)
- BS dumps now always run in NTSC mode.                     (Nach)
- Unknown regions (generally betas) default to NTSC.        (Nach)
- Now support NSRT headers for setting up controllers.      (Nach, nitsuja)
- Unix: Fixed command line help output.                     (Nach)
- Unix: Sound now defaults to 32KHz, Stereo, Interpolation
  so Snes9x finally sounds like a real SNES by default.     (Nach)
- Win32: Saner defaults for movie record.                   (Nach)
- Unix: Fixed crashing with mouse or super scope.           (Nach)
- Removed some weird code which was crashing Korean
  League and its varients.                                  (Nach)
- Win32: Can now compile with MinGW.                        (Jonas Quinn, Nach)
- Win32: Can now cross compile Snes9xw.                     (Nach)
- Unix: SSnes9x compiles again.                             (Nach)
- Win32: ZSNES C4 and SuperFX compiles once again.          (Jonas Quinn)
- Unix: Netplay Fixes.                                      (Nach)
- Unix: Netplay Improvements.                               (Fabianx)

Snes9x 1.5
- Pseudo-hires rendering flush, Old 2xsai endian fix        (anomie)
- Added 'oops' auto-snapshot support                        (anomie)
- Fixed usage messages (Unix)                               (anomie)
- Old split-ROM-in-zip bugfix                               (anomie)
- ./configure fix for detecting libpng                      (anomie)
- Fix "no PNG support" error message                        (anomie)
- Anomie's control remapping patch                          (anomie)
- Support for IPS patches in the zip file                   (anomie)
- OBC1 savestate fix                                        (Overload)
- Fix turbo frameskip, X11 keyboard auto-repeat, VRAM reads (anomie)
- Add some missing ifdefs (UNZIP_SUPPORT and ZLIB),
  from AaronOneal                                           (anomie)
- Config file for Unix/X11 and Unix/SVGA                    (anomie)
- CPU instruction fixes (mostly emulation mode & timing)    (anomie)
- Mode 7 fixes                                              (anomie)
- Rewrote the renderer. Enjoy!                              (anomie)
- Correct-ish memmap boundary testing.                      (anomie)
- Add support for saner directory structures under Unix     (anomie)
- Unix: Fixed detection of newer libpng (spotted by vapier) (PBortas)
- Added 4-point gaussian interpolation and proper envelopes
  many thanks to Brad Martin and TRAC.                      (zones)
- Fixed several sound problems.                             (zones)
- Fixed the memory access problem in C++ Super FX core.     (zones)
- Speed adjustment of C++ Super FX emulation.               (zones)
- Various timing fixes: NMI, IRQ, WRAM refresh,
  cycles per line, HBlank start, etc.
  Many thanks to byuu for much information.                 (zones)
- Removed some game specific hacks.                         (zones)
- Added partial Satellaview (BS) emulation.                 (Dreamer Nom, zones)
- Added the Katakana font for onscreen messages.            (107)
- Updated JMA to v1                                         (Nach)
- Unix: Fixed JMA options in config                         (Nach)
- Unix: Removed --with(out)-asmcpu option in config
  because the i386 assembler CPU core is out of date.       (zones)
- Unix: Changed the default settings in config.             (zones)
- Updated porting.html (porting.txt) in sync with 1.5.      (zones)
- Fixed buffer over/under flow due to incorrect logical
  operator in S-RTC code                                    (byuu)
- Fixed HDMA flags bug.                                     (byuu, anomie)
- Fixed bugs causing crashing in Unix.                      (Nach)
- Ported Snes9x to AMD64.                                   (John Weidman, Nach, zones)
- Completed DSP-1 code.                                     (Andreas Naive, Overload, Nach)
- Updated DSP-3 code.                                       (Nach, z80 gaiden)
- Updated DSP-4 code.                                       (Dreamer Nom, Nach, z80 gaiden)
- Overhauled BS detection.                                  (Nach)
- Improved Unix portability.                                (Nach, zones)
- Fixed infiniti loop and invalid read bug in
  C++ C4 core.                                              (Nach)
2019-01-01 22:16:14 +00:00
nia
ed62e3f4bd snes9x: snes9x uses snes9x-license. 2018-08-15 07:21:07 +00:00
khorben
506fbe992e Revbump for packages depending on devel/libusb{,compat} 2018-02-27 23:56:07 +00:00
khorben
b69741eca1 Import global switch for libusb's implementation [2/2]
This switch is meant to be used by packages requiring an implementation of the
former libusb (as in devel/libusb). The original implementation can be
chosen by setting LIBUSB_TYPE to "native".

The alternative implementation libusb-compat (as in devel/libusb-compat) wraps
libusb1 (in devel/libusb1). This implementation can be chosen by setting
LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not requiring root
privileges to locate and use USB devices without a kernel driver.

This second part switches packages using libusb to this framework. It does not
change compilation options or dependencies at this point.

Compile-tested on most packages affected and available on NetBSD/amd64.
2018-02-10 13:53:46 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
agc
81bef80aeb Add SHA512 digests for distfiles for emulators category
Problems found with existing digests:
	Package suse131_libSDL
	1c4d17a53bece6243cb3e6dd11c36d50f851a4f4 [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]
	Package suse131_libdbus
	de99fcfa8e2c7ced28caf38c24d217d6037aaa56 [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]
	Package suse131_qt4
	94daff738912c96ed8878ce1a131cd49fb379206 [recorded]
	886206018431aee9f8a01e1fb7e46973e8dca9d9 [calculated]

Problems found locating distfiles for atari800, compat12, compat 13,
compat14, compat15, compat20, compat30, compat40, compat50,
compat50-x11, compat51, compat51-x11, compat60, compat61,
compat61-x11, fmsx, osf1_lib, vice, xbeeb, xm7.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 20:30:54 +00:00
joerg
ad4a389123 Help detecting X11 libraries. 2015-03-31 15:27:06 +00:00
dholland
6d56b5c29b Use BROKEN_ON_PLATFORM with LP64PLATFORMS. 2015-01-01 10:03:57 +00:00
jperkin
8c5de1de97 Needs libusb. 2014-01-09 12:38:04 +00:00
wiz
2c72a9f0b9 Remove xextproto/buildlink3.mk in most cases where it occurs with
libXext/buildlink3.mk, now that it is included there.
Leave the places where its API version is set or variables from it
are used directly (about 3 packages).
2012-10-23 10:24:02 +00:00
asau
49d542f06c Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 12:55:08 +00:00
hans
3d6570a224 Zap environment before invoking tr to remove any locale settings that
might confuse it. Not MAKE_JOBS_SAFE.
2012-03-07 19:10:30 +00:00
joerg
3f6bb5efa8 Mark as not for 64bit systems until the casting mess is resolved. 2010-02-15 17:18:52 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
zafer
042c8217fc update master sites. remove vincent.grigorieff.free.fr. host does not resolve. 2009-06-05 22:23:00 +00:00
hasso
4e413443f6 Make it build on recent DragonFly release. 2009-03-13 13:33:34 +00:00
jlam
0bb78c6c9d Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 19:21:37 +00:00
obache
1e2bf573fb Need PKG_SUPPORTED_OPTIONS definition before include "bsd.options.mk".
Noticed by Jared D. McNeill in PR 37472.
2007-12-04 11:38:55 +00:00
joerg
ddcb773c75 Expect Xxf86dga to exist with non-native Xorg.Expect Xxf86dga to exist with non-native Xorg. 2007-06-15 17:16:02 +00:00
joerg
a651ad1512 Modular Xorg support. 2007-02-15 22:53:09 +00:00
wiz
b20d01b785 Reset maintainer, ben@ has resigned. 2006-12-15 14:34:18 +00:00
rillig
161946be52 Fixed the package to build and install on Solaris with sunpro. 2006-10-18 13:11:58 +00:00
wiz
c8deb09d86 Fix build with gcc-4.1 on NetBSD-3.99.21. 2006-07-05 21:21:36 +00:00
joerg
d5a176c669 Uses C++. 2006-05-11 13:55:38 +00:00
joerg
a408107af3 DragonFly hack. 2006-05-02 13:18:08 +00:00
ben
8bf4b6962a Fix build on NetBSD-1.6.2. Problems all related to C++ compiler.
* some header files contained DOS \r\n newlines
* some header files contained the word "pair"
* some optimizer flags caused the compiler to exhaust my virtual memory
2006-04-16 01:21:08 +00:00
ben
449cac6148 Upgrade snes9x to version 1.43. May affect PR#33084.
Builds but does not run correctly on amd64 and sparc64.

Unix-specific changes include:
* Removed bundled zlib in favour of detecting the system zlib.
* Fixed mouse offset in resized X11 window.
* Fixed compilation on AMD64.
* Rewrote keyboard setup code
* Unmap all joystick buttons before applying -joymapX
* Loading a zip file on binaries without zip support will give
an appropriate error message
* Added install target with proper --prefix handling.
* Added VPATH handling.
* Added fallback to C-core if configure can't find nasm.
* Changed the default controller setting to use just the plain
SNES controller pad. Mouse, Superscope and multiplayer adapters
are now turned off by default. This reflects how the Windows
port has been doing it for some time.
* Added a new command line option: -sdd1-pack
* Fixed the x86 SuperFx assembler core.
* Added possibility to enable the debugger via configure.
* Moved full screen button from 'Print Screen' to 'Alt'+'Return'.
* Added screenshot capability. Available by pressing 'Print Screen'.
* Fixed OpenGL target.
* Fixed sound on some big endian Linux systems.

General changes include:
- Rewrote Unfreeze, renamed it S9xUnfreezeFromStream,
  failing to load a freeze file no longer resets emulation  (blip)
- Fixed Unfreeze to restore IPPU.HDMA properly              (blip)
- Rewrote OBC1 code to match the real chip                  (Overload)
- More updates the to DSP-1 code, fixes to projection       (Overload, Andreas Naive)
- Added movie recording+rerecording support                 (blip, Bisqwit)
- Added -hidemenu CLI switch                                (funkyass)
- Added internal support for emulating the new-style SNES   (MKendora)
- Cleaned up many quirks of the cheat search engine         (MKendora, Don Vincenzo)
- Fix mosaic in hires SNES modes (Tokimeki Memorial)        (MKendora, zones)
- Rewrote Legend's hack, added another game to it           (MKendora)
- Optimized the Open ROM dialog                             (MKendora)
- Rewrote the Seta DSP map                                  (The Dumper, MKendora)
- Began string isolation for the UI, eases translation      (funkyass)
- added -nopatch -nocheat, and -cheat CLI items             (MKendora)
- fixed a UI typo                                           (funkyass)
- fixed several C core stack ops in emulation mode          (MKendora)
- split emulation mode ops from native mode ops             (MKendora)
- Seta special chip emulation enhancements                  (Feather, The Dumper, Overload, MKendora)
- code tweaks to the ST010                                  (Nach, pagefault)
- fix some C/asm quirks and HDMA quirks (all my fault)      (MKendora)
- several timing hacks to fix games                         (lantus)
- improved checksumming for odd mirrorings                  (MKendora)
- Snes9x uses a standard zlib instead of a packaged one     (PBortas)
- Exhaust Heat 2 and regional ports are playable            (Feather, The Dumper, Overload, MKendora)
- Game Doctor dumps that are 24 Mbit are now supported by
  a force option                                            (MKendora, Nach)
- SuperFx interleave format is now considered deprecated.
  Support will be removed in future versions                (Team decision)
- made SuperFx interleave detection a compile option        (MKendora)
- added memory maps for slotted games                       (MKendora)
- fixed a typo in the usage messages                        (MKendora)
- fixed the bug that had nuked optimizations                (The Dumper)
- restored full speed optimizations in release builds       (funkyass)
- Added non-speed-hack version of color subtraction.        (zones)
- OpenGL info message font fix                              (zones)
- APU timer fix                                             (zones, Nach)
- Fixed mouse offset in resized X11 window.                 (PhaethonH)
- Fixed a (presumably) long-standing bug: Mode 6's BG is
  depth 4, not depth 8!                                     (anomie)
- Dreamcast: Added SH4 assembler                            (PBortas, Marcus Comstedt, Per Hedbor)
- C90 and aclocal 1.8 warning fixes (thanks Ville Skytt�   (PBortas)
- Added support for NSRT Team's JMA format                  (Nach, NSRT Team, funkyass)
- Added 8-bit rendering filters                             (funkyass)
- Added Sanity Checks for the Display Dialog                (funkyass)
- New Layout for the Joypad Dialog,                         (funkyass)
- Fixed that anoying Joypad dialog bug. Now check to see
  if the axis exists before asking for the info form it     (funkyass)
- Added full POV support.                                   (funkyass)
- Fixed sram sizes for SuperFx games                        (Nach, MKendora)
- Stopped saving sram for games with no battery             (Nach, Mkendora)
- stack wrapping fix in C core                              (MKendora)
- removed some dead hacks (Oda Nobunaga and Dezaemon)       (MKendora)
- fixed some DMA and HDMA modes                             (anomie, MKendora)
- improved HDMA timing                                      (anomie)
- cleaned up load and deinterleave code                     (MKendora)
- removed old UI DLL                                        (MKendora)
- new cheat dialogs                                         (MKendora)
- Implement odd sprite sizes, sprite priority rotation.     (anomie)
- RTO code that hopefully works. MK's #define is
  "MK_DEBUG_RTO" to try to debug the RTO code.              (anomie)
- SDD1 decompression support for Linux. Also added a new
  command line option -sdd1-pack.                           (anomie)
- Added correct VRAM read logic. #define CORRECT_VRAM_READS
  if you want it.                                           (anomie)
- removed the non-VAR_CYCLES path                           (MKendora)
- changed access timing map to be address-based.            (MKendora, anomie)
- DSP-1 updates                                             (Overload, Andreas Naive)
- S-DD1 decompression support                               (Andreas Naive)
- optimized S-DD1 code                                      (anomie)
- S-DD1 can use packs or decompression                      (MKendora)
- More work on Exhaust Heat 2                               (MKendora, Overload, The Dumper)
- separated ROM detection from file reading                 (lantus)
- fixed a mirroring bug in LoROMs                           (MKendora)
- cleaned up some mapping issues                            (MKendora)
- ST018 games now boot before locking up                    (Mkendora, Overload)
- SA-1 state was not completely reset, crashed Marvelous    (zones)
- Removed sample caching. It caused problems, and was not
  noticably faster.                                         (MKendora)
- Fixed interlace without breaking the displays for MK      (anomie)
- Fixed a PPU OpenBus hack                                  (anomie)
- Moved SPC7110 and S-DD1 regs to speed up the general case
  of reading the $4xxx registers                            (MKendora)
- altered Hi/Lo ROM detection to fix a few misdetects.      (MKendora)
- Implemented RTO flags. With MK's implementation of $213F's
  interlace bit, we now pass the SNES Test Cart's
  Electronics Test                                          (anomie)
- Fix sprite windowing bug                                  (anomie)
- cleaned up the hacks section somewhat                     (MKendora)
- removed some interleave hacks                             (MKendora)
- fixed a bug in KartContents                               (MKendora)
- transparency fix for Jurassic Park                        (lantus)
- Kludged Mark Davis until I get stable APU timing          (MKendora)
- Fixed an FMOD bug                                         (MKendora)
- cosmetic tweaks                                           (Everyone)
- Fixed 2 special chip bugs in the C core                   (zones)
- Added some sanity fixes to the C core, fixes MLBPA
  Baseball for C core users                                 (zones)
- updated zlib source (includes 1.1.4-1 patch)              (MKendora)
- compiler warning fixes                                    (PBortas)
- Updated the SuperFx asm core                              (pagefault)
- Hacked Robocop vs. Terminator using Daffy Duck hack. Stops
  flashing.                                                 (MKendora)
- Added some defines to the asm core                        (MKendora)
- Initialize the C SuperFx core better                      (PBortas)
- Kludge a Japanese golf game until the APU timing is fixed (MKendora)
- Oops, in the asm CPU core i was stomping on %eax too
  early, so register $4210 wasn't getting set properly.     (anomie)
- Generic accuracy fix in main SUperscope emulation         (MKendora)
- sprite bug fixed (gah! How'd we miss that)                (anomie)
- SPC saving compatibility fix                              (Caz and zones)
- Window clipping update                                    (anomie)
- Mode 7 clipping fix                                       (TRAC)
- latching fix                                              (anomie)
- BS BIOS checksum and mapping fix                          (MKendora)
- Working Uniracers hack (dma.cpp)                          (anomie)
- HDMA Indirect Address fix for Romancing Saga 2            (anomie)
- Better savestate hack, does it break anything?            (anomie)
- C4 C core fixes. Mostly Trapezoid (thanks Nach),
  some s/short/int16/, some indentation.                    (anomie)
- Damn, but the indentation in ppu.cpp was screwed up.
  Killed some dead code too (twas commented forevermore).   (anomie)
- fixed a potential crash in S-DD1 logging                  (MKendora)
- Improved accuracy of Hi/LoROM detection (~500 ROM test)   (MKendora)
- Hack for Moryou Senki Madara 2, don't call
  SelectTileRenderer from DrawOBJS if BGMode is 5 or 6. A
  real fix requires at least rewriting SelectTileRenderer,
  or inlining a special version in DrawOBJS.                (anomie)
- DMA traces: add additional address info to reads too.     (anomie)
- Killed the old Borland Joypad dialog                      (funkyass)
- Fixed issues with Dezaemon and CT, maybe others           (anomie, MKendora)
- Changed the internal snapshot key from \ to VK_F12        (funkyass)
  Fixes issues with non-US keyboard layouts.
- Fixed OAM reset to not occur during forced blank.         (anomie)
- Killed some dead OAM reset code that doesn't need saving. (anomie)
- Fixed OAM reset timing (beginning of V-Blank rather than
  end) for R-TYPE 3 (J).                                    (anomie)
- Tweaked the About Dialog so its read-only and no scroll   (funkyass)
- cleaned up a sound skipping code issue. Same as the
  RTC issue                                                 (lantus)
- re-fixed the invalid BRR header behavior twice            (Lord Nightmare, FatlXception, Mkendora)
- More BS mapping fixes.                                    (The Dumper, MKendora)
- Fixed Ranma Bun no 1 - Chonai Gekitou Hen (J) and
  Street Combat (U). Interlace is not supported in the
  non-Hi-res modes, as far as I can tell.                   (MKendora)
- Also fixes Maka Maka (J). Frank Yang's report, and
  anomie's code both provided clues to this one.
- Removed special casing on setting 5c77 version to one.
  This seems to be true for U and J units always. I need
  it checked out on PAL...                                  (neviksti)
- Using SNEeSe's values for 5c78 and 5A22. Note we know
  that the 5c78 version can also be 1 or 2, instead of 3.   (TRAC, neviksti)
- Added turbo buttons. Credit/blame for the design goes
  to slack, Nave, Gogo, and myself.                         (MKendora)
- fixed a bug in turbo                                      (slack, MKendora)
- Tried merging the behavior of Old $4200 with new $4200    (MKendora)
- Made $4200's return value match what VSMC Explorer
  showed on Fancia's SNES                                   (MKendora)
- Fixed a matrix multiplcation bug in ZSNES state loads     (MKendora)
- Fixed Dezaemon and Ys3 mode 7                             (lantus)
- Fixed H-DMA modes 5-7. Thanks to The Dumper for the
  extra motivation needed. GunForce and Genocide 2 work.    (The Dumper, MKendora)
- Fixed BG3 Priority. I'm stupid. anomie had fixed it,
  but lantus fixed it again, because I didn't use it.       (anomie, lantus)
- Added a Star Fox 2 hack, and an interleave skip           (The Dumper, lantus, MKendora)
- Cleared BS setting on load                                (lantus)
- Fix for Mode 7 priorities. fixes F-1 Grand Prix (all 3)   (anomie)
- JANJYU GAKUEN 2 needs Multi-tap 5 off.                    (Frank Yang, MKendora)
- HONKAKUHA IGO GOSEI: No multi-tap 5, allow mouse          (lantus, MKendora)
- Added a few missed conditional compiles                   (Nach)
- disabled multitap 5 by default, added menu to enable      (MKendora)
- special thanks to anomie and lantus. One of them is
  responsible for a bug fix I forgot already.               (anomie, lantus)
- Removed several Multitap5 disable hacks.                  (MKendora)
- Added an SPC dumping upgrade from kode54                  (kode54)
- cleaned up some resource leaks                            (MKendora)
- I forgot this since 1.39mk, but SPC700 flag fixes         (anomie)
- Mode 7 interpolation screen flip fix                      (anomie)
- Updated SPC7110 code a bit, for compatibility             (Daniel, anomie)
- Changed RTC saving. (Byte exact to old format on Win32)
  The submitted patch for "safety" doubled the file size,
  so I had to write it in explicitly little-endian.         (MKendora)
- Removed the old hidden cursor                             (MKendora)
- Applied a WAI correction from anomie.                     (anomie)
- Added a patch for Pseudo hi-res                           (anomie)
- Hacked around Word writes to $7F:FFFF. Thanks to lantus
  and The Dumper for verification.                          (MKendora)
- PPC compile fix? and debugger reversion                   (anomie)
- Set defaults differently to improve sound quality.        (MKendora)
- Clear Force load settings after Init                      (lantus)
- Made menu reset a soft reset. Fixed BL Sound Test & more  (CaitSith2)
- Fixed word writes to block bounds in asm core.            (MKendora)
- redone version of my bounds fix, only this one WORKS!     (TRAC)
- Thanks to TRAC for the AT&T syntax refresher!             (TRAC)
- Fixed screen saver disable                                (kode54)
- Fixed OAM and sprite priority in the asm core             (anomie)
- Proper Interlace fix for mid-frame changes                (anomie)
- Fixed OpenGL to accomodate previous patch                 (MKendora)
- Fixed ROM Info bugs                                       (_pentium_five, MKendora)
- Fixed non-stretched interlacing, but it's s.l.o.w.        (anomie)
- Superscope and Mouse need to be enabled by the menu.      (MKendora)
- Fixed HiROM sram reads in asm and C cores                 (anomie, MKendora)
- Added Company 48 to the list. Thanks to _pentium_five_    (StatMat)
- Set Super Drift Out's S-ram correctly.                    (Snes9xppSE Team)
- Fixed NTSC timing. Helps ToP Intro greatly                (kode54)
- Added several entries to the company list, from uCON64    (Nach)
- Lots more companies                                       (StatMat, Nach)
- Added ZSNES OBC1 code ported from asm to C                (sanmaiwashi)
- Implemented Justifier emulation                           (neviksti, MKendora)
- Fixed Rudora no Hihou's clip window bug                   (anomie)
- Fixed Flintstones sprite issue                            (lantus)
- Fixed sram mappings for Big Sky Troopers and
  Taikyoku - IGO Goliath. Both map in bank F0               (MKendora)
- Fixed a possible crash when switching audio settings      (MKendora)
- Added per-pack gfx pack configuration                     (MKendora)
- Fixed glitches in DSP-1 games (Flintstones fix)           (lantus)
- Added delay to Superscope latching. Fixes X-Zone.         (neviksti, MKendora, zones)
- Added DSP-2 support                                       (Overload, The Dumper, Lord Nightmare,
                                                             MKendora, neviksti)
- Fixed Super Bases Loaded 2 (and J/K ports) DSP-1 seems
  to ignore the A15 line in LoROM maps                      (MKendora)
- Corrected $4200 again                                     (The Dumper)
- Corrected $2100, $2102, and $2102 read behavior           (anomie)
- Fixed Cancel on the Sound Options dialog.                 (MKendora)
- Fixed the sound options dialog (Thanks, Quattro)          (MKendora)
- updated DSP-1 support to match chip better                (Overload, neviksti, The Dumper)
- added a few Ops to the DSP-4 routine (Nothing plays yet)  (neviksti, The Dumper, Overload, MKendora)
- added screenshot support                                  (anomie, sanmaiwashi)
- stubbed the ST010 chip in Exhaust Heat 2                  (Overload, MKendora)
- hacked around War 2410's lockup                           (pagefault, _Demo_, MKendora)
- updated tests for type 1 ROMs (based on reset vector)     (MKendora)
- Emulation mode CPU fix                                    (The Dumper)
- Open Bus fixes                                            (anomie)
- Better Expansion port emulation                           (anomie)
- More Open Bus fixes                                       (Overload, anomie)
- HDMA fixes (fix colors only in Full Throttle Racing)      (anomie)
- Migrated DKJM2 onto the Tales map                         (MKendora)
- Tried to remove Dragon Knight 4 hack (LoROM sram fix)     (MKendora)
- Fixed ROM Mirroring for LoROMs (<= 32 Mbit)               (MKendora, TRAC)
- blocked wram to wram DMAs                                 (neviksti)
- fixed HiROM mirroring, too. Thanks TRAC!                  (MKendora, TRAC)
- fixed C core RMW and Push ops to write in the correct
  order, fixes Michael Jordan gfx.                          (anomie, Overload, MKendora)
- set RDIO to start as 0xFF, fixes SuperFx games.           (anomie, Overload)
- New connect dialog                                        (funkyass)
- better conditional compile of FMOD                        (funkyass)
- fixed screenshot code when libpng is not used             (funkyass)
- added portability fixes                                   (zones)
- fixed asm Pushes                                          (anomie)
- fixed asm LoROM s-ram decode                              (MKendora)
- migrated DEZAEMON to standard LoROM map                   (MKendora)
- fixed the Madara 2 OpenGL bug (key found in Rudra)        (MKendora)
- fixed asm RMW instructions                                (MKendora)
- fixed ADC opcode                                          (The Dumper)
- added DSP-2 Op09                                          (The Dumper)
- updated C4 C code                                         (anomie)
- updated C4 asm code                                       (Nach)
- Keep OpenGL in ratio                                      (kode54)
- Replaced many more Borland dialogs                        (funkyass, MKendora, Nach)
- Added CRC32 to displayed ROM Info                         (Nach, MKendora)
- Fix cheat support                                         (The Dumper)
- improved DMA timing                                       (MKendora, Overload, The Dumper)
- Fixed Mode 7 math, removed Dezaemon, Gaia, Ys 3 hacks     (TRAC, MKendora)
- Mode 7 flip fix                                           (TRAC)
- Multiple safety and initialization fixes                  (zones)
- Platform safety fixes                                     (PBortas)
- Memmap cleanups                                           (MKendora)
- More preliminary work on special chips                    (The Dumper, Overload, MKendora)
- Added color coding                                        (MKendora)
- Another HDMA fix                                          (anomie)
- added another known hack to the hacked games list         (Nach)
- ToP memmap changes                                        (MKendora)
- Checksum calculation changes                              (MKendora)
- Special cased a few games for OAM issues                  (MKendora)
- Reverted OAM reset to 1.39 timing                         (MKendora)
- Reworked vram wrapping                                    (zones, Mkendora)
- Fixed $4210 and Super Professional Baseball 2             (Overload, MKendora)
- Fixed APU RAM init                                        (Overload, MKendora)
- More support for Exhaust Heat 2 (not playable)            (The Dumper, Overload, neviksti)
- removed some debris from save states                      (MKendora)
- fixed? Doom's save state bug                              (MKendora)
- simple overdump detection warning                         (MKendora)
2006-03-18 15:56:00 +00:00
ben
9159448896 Only depend on nasm for the i386 build. Addresses PR#33084 2006-03-18 13:28:53 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
be6ad9387c Add DragonFly support. Don't hard-wire -lossaudio and -lpthread, use
the proper variables.
2005-11-17 14:21:02 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
wiz
b26abba031 Now that bsd.options.mk has been changed, only add mmx to PKG_SUPPORTED_OPTIONS on i386. 2005-06-11 16:53:18 +00:00
wiz
6ac47b68a4 Slightly different solution to previous:
just ignore mmx pkg_option if set on non-i386.
2005-06-10 18:20:06 +00:00
wiz
debb654ddb Wrap complete options part in ifdef i386,
since there is only one option and that only on i386.
Fixes bulk build problem.
2005-06-10 18:09:45 +00:00
wiz
362be97679 Convert to options framework. 2005-06-01 20:13:08 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
wiz
a5a959d384 Update email address (old one bounces). 2004-12-05 13:56:11 +00:00
cube
d24b17b105 For USE_MMX users, do the following:
o only include it in the BUILD_DEFS if the current platform is concerned.
  For now that only includes i386, but we might find amd64 users in the
  future.
o test against [Yy][Ee][Ss], for consistency.

Fixes part of PR 26243.
2004-07-12 19:27:05 +00:00