aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2016-01-15 02:47:22 +0200
committerFilippos Karapetis2016-01-15 02:47:22 +0200
commit87de93e5f13545489ef59cfaa1b0ee06035eebc4 (patch)
tree9362e8f4d39137989ac7aeb8f68175c962cea6d6
parentfbc9fe03c089d4d5d344370460b7c7ad3afc38be (diff)
downloadscummvm-rg350-87de93e5f13545489ef59cfaa1b0ee06035eebc4.tar.gz
scummvm-rg350-87de93e5f13545489ef59cfaa1b0ee06035eebc4.tar.bz2
scummvm-rg350-87de93e5f13545489ef59cfaa1b0ee06035eebc4.zip
SCI: Add a hack in music init for MUMG Deluxe, so that it starts
-rw-r--r--engines/sci/sound/music.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 31cf27f7e0..5a11ac386a 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -131,6 +131,12 @@ void SciMusic::init() {
// HACK: The Fun Seeker's Guide demo doesn't have patch 3 and the version
// of the Adlib driver (adl.drv) that it includes is unsupported. That demo
// doesn't have any sound anyway, so this shouldn't be fatal.
+ } else if (g_sci->getGameId() == GID_MOTHERGOOSEHIRES) {
+ // HACK: Mixed-Up Mother Goose Deluxe does not seem to use synthesized music,
+ // so just set a default tempo (for fading)
+ // TODO: Review this
+ _dwTempo = 1000000 / 250;
+ warning("Temporary music hack for MUMG Deluxe");
} else {
error("Failed to initialize sound driver");
}