GOB: Hook up the MDY player in Fascination

This commit is contained in:
Sven Hesse 2012-06-11 05:09:58 +02:00
parent 03ef6689c0
commit 8548dea13d
2 changed files with 4 additions and 5 deletions

View File

@ -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();
}

View File

@ -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) {