libretro / snes9x2010

Snes9x 2010. Port of Snes9x 1.52+ to Libretro (previously called SNES9x Next). Rewritten in C and several optimizations and speedhacks.
Other
98 stars 71 forks source link

Flush audio buffer at the end of retro_run, and bypass resampler #110

Closed Dwedit closed 6 years ago

Dwedit commented 6 years ago

Second try, had a bug on the first submission.

This will force the sound buffer to be flushed at the end of retro_run, which makes rapidly saving and loading state have clean audio.

The resampler is also bypassed to avoid having samples linger on in there (may also improve performance).