mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
Add cases for using '-' and '+' keys on the keypad too.
svn-id: r27841
This commit is contained in:
parent
7e83dfd275
commit
3f82a451ef
@ -567,12 +567,14 @@ bool AGOSEngine::processSpecialKeys() {
|
||||
_speech ^= 1;
|
||||
}
|
||||
case Common::KEYCODE_PLUS:
|
||||
case Common::KEYCODE_KP_PLUS:
|
||||
if (_midiEnabled) {
|
||||
_midi.setVolume(_midi.getVolume() + 16);
|
||||
}
|
||||
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType) + 16);
|
||||
break;
|
||||
case Common::KEYCODE_MINUS:
|
||||
case Common::KEYCODE_KP_MINUS:
|
||||
if (_midiEnabled) {
|
||||
_midi.setVolume(_midi.getVolume() - 16);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user