diff options
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r-- | simon/simon.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index b8aef5e9b3..de26fc38c8 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -153,6 +153,8 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst) _effects_sound = 0; _voice_sound = 0; _ambient_sound = 0; + + _music_playing = false; } SimonState::~SimonState() @@ -4608,6 +4610,12 @@ void SimonState::delay(uint amount) case OSystem::EVENT_KEYDOWN: if (event.kbd.keycode == 't') { _vk_t_toggle ^= 1; + } else if (event.kbd.keycode == '+') { + midi.set_volume(midi.get_volume() + 10); + } else if (event.kbd.keycode == '-') { + midi.set_volume(midi.get_volume() - 10); + } else if (event.kbd.keycode == 'm') { + midi.pause(_music_playing ^= 1); } else if (event.kbd.flags == OSystem::KBD_CTRL) { if (event.kbd.keycode == 'f') { _fast_mode ^= 1; |