[Gamecube/Wii] avoid reinitializing sound buffers when switching video mode

This commit is contained in:
EkeEke 2014-10-15 23:20:15 +02:00
parent bf184b9440
commit 4201b2dac5

View File

@ -1861,7 +1861,7 @@ int gx_video_Update(int status)
if (!config.render && config.vsync && (gc_pal == vdp_pal))
{
/* framerate has changed, reinitialize audio timings */
audio_init(snd.sample_rate, get_framerate());
audio_set_rate(snd.sample_rate, get_framerate());
}
/* clear flag */