aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_digi.cpp26
1 files changed, 15 insertions, 11 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp
index bbe5fb205c..93ce409027 100644
--- a/scumm/imuse_digi.cpp
+++ b/scumm/imuse_digi.cpp
@@ -1061,23 +1061,27 @@ int32 IMuseDigital::doCommand(int a, int b, int c, int d, int e, int f, int g, i
}
}
} else if ((_scumm->_gameId == GID_CMI) && (_scumm->_features & GF_DEMO)) {
- if (b == 1000) { // STATE_NULL
+ if (b == 2) {
+ _scumm->_sound->playBundleMusic("in2.imx");
+ } else if (b == 8) {
+ _scumm->_sound->playBundleMusic("out2.imx");
+ } else {
+ warning("imuse digital: set state unknown for cmi demo: %d, room: %d", b, this->_scumm->_currentRoom);
+ return 1;
+ }
+/* if (b == 1000) { // STATE_NULL
_scumm->_sound->stopBundleMusic();
return 0;
- } else if (b == 1001)
+ } else if (b == 1001)//1
_scumm->_sound->playBundleMusic("in1.imx");
- else if (b == 1100)
+ else if (b == 1100)//2
_scumm->_sound->playBundleMusic("in2.imx");
- else if (b == 1120)
+ else if (b == 1120)//3
_scumm->_sound->playBundleMusic("out1.imx");
- else if (b == 1140)
+ else if (b == 1140)//4
_scumm->_sound->playBundleMusic("out2.imx");
- else if (b == 1205)
- _scumm->_sound->playBundleMusic("gun.imx");
- else {
- warning("imuse digital: set state unknown for cmi demo: %d", b);
- return 1;
- }
+ else if (b == 1205)//7
+ _scumm->_sound->playBundleMusic("gun.imx");*/
} else if (_scumm->_gameId == GID_CMI) {
if (b == 1000) { // STATE_NULL
_scumm->_sound->stopBundleMusic();