diff options
-rw-r--r-- | engines/cge2/cge2_main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 65c5a746b9..f5587e1e8a 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -1104,7 +1104,9 @@ void CGE2Engine::switchColorMode() { } void CGE2Engine::switchMusic() { - warning("STUB: CGE2Engine::switchMusic()"); + _commandHandlerTurbo->addCommand(kCmdSeq, kMusicRef, (_music = !_music), nullptr); + keyClick(); + _commandHandlerTurbo->addCommand(kCmdMidi, -1, (_music) ? (_now << 8) : -1, nullptr); } void CGE2Engine::quit() { |