win32: Apply turbo mode volume when rewinding.

This commit is contained in:
Brandon Wright 2019-06-23 16:48:03 -05:00
parent 16ca2f95c8
commit 5e81da0b67
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ void S9xSoundCallback(void *data)
static double last_volume = 1.0;
// only try to change volume if we actually need to switch it
double current_volume = (Settings.TurboMode ? GUI.VolumeTurbo : GUI.VolumeRegular) / 100.;
double current_volume = ((Settings.TurboMode || Settings.Rewinding) ? GUI.VolumeTurbo : GUI.VolumeRegular) / 100.;
if (last_volume != current_volume) {
S9xSoundOutput->SetVolume(current_volume);
last_volume = current_volume;