From 10066443b06cb0f47f0f3b4bb107ee94439e030a Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Fri, 20 Aug 2010 22:23:12 +0000 Subject: GOB: Add an initGame() for Fascination. Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment svn-id: r52247 --- engines/gob/init.h | 1 + engines/gob/init_fascin.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'engines') diff --git a/engines/gob/init.h b/engines/gob/init.h index 8716c5e67d..8fc301d7a6 100644 --- a/engines/gob/init.h +++ b/engines/gob/init.h @@ -97,6 +97,7 @@ public: ~Init_Fascination(); void updateConfig(); + void initGame(); }; } // End of namespace Gob diff --git a/engines/gob/init_fascin.cpp b/engines/gob/init_fascin.cpp index f59106dbd2..f853858564 100644 --- a/engines/gob/init_fascin.cpp +++ b/engines/gob/init_fascin.cpp @@ -46,4 +46,12 @@ void Init_Fascination::updateConfig() { _vm->_global->_doSubtitles = true; } +void Init_Fascination::initGame() { + // HACK - Suppress ADLIB_FLAG as the MDY/TBR player is not working. suppress the honker too, + // as the script checks in the intro for it's presence to play or not some noices. + _vm->_global->_soundFlags = MIDI_FLAG | BLASTER_FLAG; + + Init::initGame(); +} + } // End of namespace Gob -- cgit v1.2.3