mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
GOB: Tell Geisha that we have no AdLib
The title music is then played from SND files instead of MDY/TBR files (that we still don't yet support).
This commit is contained in:
parent
c6bb055941
commit
1998ab500e
@ -62,6 +62,7 @@ public:
|
||||
~Init_Geisha();
|
||||
|
||||
void initVideo();
|
||||
void initGame();
|
||||
};
|
||||
|
||||
class Init_v2 : public Init_v1 {
|
||||
|
@ -44,4 +44,11 @@ void Init_Geisha::initVideo() {
|
||||
_vm->_draw->_transparentCursor = 1;
|
||||
}
|
||||
|
||||
void Init_Geisha::initGame() {
|
||||
// HACK - Since the MDY/TBR player is not working, claim we have no AdLib
|
||||
_vm->_global->_soundFlags = 0;
|
||||
|
||||
Init::initGame();
|
||||
}
|
||||
|
||||
} // End of namespace Gob
|
||||
|
@ -434,6 +434,8 @@ void Sound::blasterPlay(SoundDesc *sndDesc, int16 repCount,
|
||||
debugC(1, kDebugSound, "SoundBlaster: Playing sample (%d, %d, %d)",
|
||||
repCount, frequency, fadeLength);
|
||||
|
||||
blasterStopComposition();
|
||||
|
||||
_blaster->playSample(*sndDesc, repCount, frequency, fadeLength);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user