sdl: fix volume up/down hotkeys (sf698) applied Michal Kepien's patch (thank you)

This commit is contained in:
punkrockguy318 2015-04-10 23:33:04 +00:00
parent 824e430eba
commit 6ecfad996e
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ void
FCEUD_SoundVolumeAdjust(int n)
{
int soundvolume;
g_config->getOption("SDL.SoundVolume", &soundvolume);
g_config->getOption("SDL.Sound.Volume", &soundvolume);
switch(n) {
case -1:
@ -246,7 +246,7 @@ FCEUD_SoundVolumeAdjust(int n)
s_mute = 0;
FCEUI_SetSoundVolume(soundvolume);
g_config->setOption("SDL.SoundVolume", soundvolume);
g_config->setOption("SDL.Sound.Volume", soundvolume);
FCEU_DispMessage("Sound volume %d.",0, soundvolume);
}