aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2012-06-11 05:09:58 +0200
committerSven Hesse2012-06-11 05:18:06 +0200
commit8548dea13d56e1d69b2f4743361932cf14dd6eee (patch)
tree7a196dae2b12c94141bfcee532524d03b31ed2e8
parent03ef6689c015742c192d5d92d936e60d638caa1c (diff)
downloadscummvm-rg350-8548dea13d56e1d69b2f4743361932cf14dd6eee.tar.gz
scummvm-rg350-8548dea13d56e1d69b2f4743361932cf14dd6eee.tar.bz2
scummvm-rg350-8548dea13d56e1d69b2f4743361932cf14dd6eee.zip
GOB: Hook up the MDY player in Fascination
-rw-r--r--engines/gob/init_fascin.cpp6
-rw-r--r--engines/gob/inter_fascin.cpp3
2 files changed, 4 insertions, 5 deletions
diff --git a/engines/gob/init_fascin.cpp b/engines/gob/init_fascin.cpp
index b87d816406..e6d82faa68 100644
--- a/engines/gob/init_fascin.cpp
+++ b/engines/gob/init_fascin.cpp
@@ -44,10 +44,10 @@ void Init_Fascination::updateConfig() {
}
void Init_Fascination::initGame() {
-// HACK - Suppress ADLIB_FLAG as the MDY/TBR player is not working. suppress
-// the PC Speaker too, as the script checks in the intro for it's presence
+// HACK - Suppress
+// the PC Speaker, as the script checks in the intro for it's presence
// to play or not some noices.
- _vm->_global->_soundFlags = MIDI_FLAG | BLASTER_FLAG;
+ _vm->_global->_soundFlags = MIDI_FLAG | BLASTER_FLAG | ADLIB_FLAG;
Init::initGame();
}
diff --git a/engines/gob/inter_fascin.cpp b/engines/gob/inter_fascin.cpp
index 081b48fbad..001ec06635 100644
--- a/engines/gob/inter_fascin.cpp
+++ b/engines/gob/inter_fascin.cpp
@@ -248,12 +248,11 @@ void Inter_Fascination::oFascin_playTira(OpGobParams &params) {
void Inter_Fascination::oFascin_loadExtasy(OpGobParams &params) {
_vm->_sound->adlibLoadTBR("extasy.tbr");
_vm->_sound->adlibLoadMDY("extasy.mdy");
+ _vm->_sound->adlibSetRepeating(-1);
}
void Inter_Fascination::oFascin_adlibPlay(OpGobParams &params) {
-#ifdef ENABLE_FASCIN_ADLIB
_vm->_sound->adlibPlay();
-#endif
}
void Inter_Fascination::oFascin_adlibStop(OpGobParams &params) {