diff options
Diffstat (limited to 'engines/kyra/script_hof.cpp')
-rw-r--r-- | engines/kyra/script_hof.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index 0327516b2e..23ec3bd406 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -829,7 +829,8 @@ int KyraEngine_HoF::o2_showLetter(EMCState *script) { int KyraEngine_HoF::o2_playFireflyScore(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_playFireflyScore(%p) ()", (const void *)script); - if (_sound->getSfxType() == Sound::kAdlib || _sound->getSfxType() == Sound::kMidiMT32 || _sound->getSfxType() == Sound::kMidiGM) { + if (_sound->getSfxType() == Sound::kAdlib || _sound->getSfxType() == Sound::kPCSpkr || + _sound->getSfxType() == Sound::kMidiMT32 || _sound->getSfxType() == Sound::kMidiGM) { snd_playWanderScoreViaMap(86, 1); return 1; } else { @@ -1328,6 +1329,8 @@ int KyraEngine_HoF::o2_getSfxDriver(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_getSfxDriver(%p) ()", (const void *)script); if (_sound->getSfxType() == Sound::kAdlib) return 1; + else if (_sound->getSfxType() == Sound::kPCSpkr) + return 4; else if (_sound->getSfxType() == Sound::kMidiMT32) return 6; else if (_sound->getSfxType() == Sound::kMidiGM) @@ -1346,6 +1349,8 @@ int KyraEngine_HoF::o2_getMusicDriver(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_getMusicDriver(%p) ()", (const void *)script); if (_sound->getMusicType() == Sound::kAdlib) return 1; + else if (_sound->getMusicType() == Sound::kPCSpkr) + return 4; else if (_sound->getMusicType() == Sound::kMidiMT32) return 6; else if (_sound->getMusicType() == Sound::kMidiGM) |