sdl: fix volume up/down hotkeys (sf698) applied Michal Kepien's patch (thank you)
This commit is contained in:
parent
824e430eba
commit
6ecfad996e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue