diff options
author | Strangerke | 2014-06-25 19:36:59 +0200 |
---|---|---|
committer | Strangerke | 2014-06-25 19:36:59 +0200 |
commit | 384f1b664bc10c18a1501093b80fa4d6ca146475 (patch) | |
tree | 56fe09a03f9c98750ffefd271e4d5d968fa8ad5b | |
parent | 2bc35f6f6db4fd963d6348e2772d928d136480f8 (diff) | |
download | scummvm-rg350-384f1b664bc10c18a1501093b80fa4d6ca146475.tar.gz scummvm-rg350-384f1b664bc10c18a1501093b80fa4d6ca146475.tar.bz2 scummvm-rg350-384f1b664bc10c18a1501093b80fa4d6ca146475.zip |
CGE2: Implement snMidi()
-rw-r--r-- | engines/cge2/snail.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index 49041bb272..9b77fe359e 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -364,7 +364,10 @@ void CGE2Engine::snHide(Sprite *spr, int val) { } void CGE2Engine::snMidi(int val) { - warning("STUB: CGE2Engine::snMidi()"); + if (val < 0) + _midiPlayer->killMidi(); + else if (_music) + _midiPlayer->loadMidi(val); } void CGE2Engine::snSetDlg(int clr, int set) { |