Snes9x 1.59.2

This is for people involved in the developement of Snes9x, or SNES emulators in general.
Post Reply
User avatar
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Snes9x 1.59.2

Post by OV2 »

Many things changed in this release. The largest change is a refactoring of the sound handling, which means sound should work better than before and consume less CPU time.

Important Notes:

.slang shader support

We have added support for libretro .slangp presets and .slang shaders. These can currently only be used with OpenGL on the Windows and GTK versions. A large set of shaders can be downloaded from:

  • The DirectSound driver has been glitch-prone for a while, so it has removed and replaced with a WaveOut driver. WaveOut is the most basic Windows method for outputting sound, and has used the same output path as DirectSound since Windows Vista. There are only small differences between the two, but the main one is that WaveOut doesn't loop by default, which means we can use a push API and have Dynamic Rate Control. XAudio2 is still available and recommended if your system supports it.
  • More git subprojects have been added, so without git it will be more difficult to compile. See how2compile.txt in the win32/docs directory for details.
  • The build system has been switched to Meson. Packagers will need to adapt, but most operating systems already have Meson available and being used in packages. The procedure to build is fairly simple:
    1. 1. Change to the gtk port directory: `cd gtk`
    2. 2. Run meson: `meson builddir --prefix=/usr --buildtype=release`
    3. Change to the build directory and run ninja: `cd builddir; ninja`
    4. 4. Install if you wish: `meson install` or `sudo meson install`
    A full list of options is in meson_options.txt.
  • .slang support requires SPIRV-Cross, which is a git submodule of Snes9x. git can retrieve this with:
    `git submodule update --init shaders/SPIRV-Cross`
    If a source archive is used, .slang support will be disabled unless you download the submodule. This can be done by extracting an archive from to that directory, or by creating a temporary git repository in the extracted Snes9x source by running `git init` and using the above command.
Download mirrors:


Code: Select all

- 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.

- Don't display Joypad 2 pressed keys if disabled.
- Add support for libretro ".slang" shaders to OpenGL driver.
- Removed glitch-prone DirectSound audio driver in favor of a generic Wave Out
- Moved sound sync to drivers to be more reactive. This makes sound sync and
  dynamic resampling work more reliably.
- Cleaned up dialog boxes to be more consistently spaced.
- Fixed TVMode filter in Direct3D and OpenGL modes.
- Fixed an interaction slowdown with OpenGL and Blargg NTSC filters.

- Fix multiline cheats.

- 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.
Grand Poobah
Posts: 671
Joined: Sat May 15, 2004 4:28 am
Location: Austin, TX

Re: Snes9x 1.59.2

Post by Ryan »

Ariel Schnee wrote: Tue Oct 29, 2019 10:52 am What happened to Snes9x 1.60? It seems to have disappeared. I know it existed, because I've got on my harddrive.
Have you tried checking the Downloads page?
Grand Poobah
Posts: 671
Joined: Sat May 15, 2004 4:28 am
Location: Austin, TX

Re: Snes9x 1.59.2

Post by Ryan »

Post Reply