diff options
author | uruk | 2014-07-23 09:28:57 +0200 |
---|---|---|
committer | uruk | 2014-07-23 09:28:57 +0200 |
commit | 93b8f101c363e4e0b8bd8e27b504e8b037ae0aa3 (patch) | |
tree | 41d8f4115d833390e861fcd41c318736376d227c | |
parent | 49f68a89132590ec5ef261451884249721de636b (diff) | |
download | scummvm-rg350-93b8f101c363e4e0b8bd8e27b504e8b037ae0aa3.tar.gz scummvm-rg350-93b8f101c363e4e0b8bd8e27b504e8b037ae0aa3.tar.bz2 scummvm-rg350-93b8f101c363e4e0b8bd8e27b504e8b037ae0aa3.zip |
CGE2: Implement switchMusic():
-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() { |