SDL Audio: Fix silly regression with changing the FPS target
Jeffrey Pfau jeffrey@endrift.com
Sat, 24 Oct 2015 23:35:03 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-audio.c
→
src/platform/sdl/sdl-audio.c
@@ -121,7 +121,7 @@ }
#elif RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF double fauxClock = 1; if (audioContext->thread) { - GBAAudioCalculateRatio(1, audioContext->thread->fpsTarget, 1); + fauxClock = GBAAudioCalculateRatio(1, audioContext->thread->fpsTarget, 1); GBASyncLockAudio(&audioContext->thread->sync); } blip_set_rates(gba->audio.left, GBA_ARM7TDMI_FREQUENCY, audioContext->obtainedSpec.freq * fauxClock);