mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
SCI: The demo of GK1 has no alternate sound effects.
This fixes the sound effect heard in the "Day 1" screen
This commit is contained in:
parent
2545dd22aa
commit
1736345906
@ -83,10 +83,11 @@ void SoundCommandParser::initSoundResource(MusicEntry *newSound) {
|
||||
// effects. If the resource exists, play it using map 65535 (sound
|
||||
// effects map)
|
||||
bool checkAudioResource = getSciVersion() >= SCI_VERSION_1_1;
|
||||
if (g_sci->getGameId() == GID_HOYLE4)
|
||||
checkAudioResource = false; // hoyle 4 has garbled audio resources in place of the sound resources
|
||||
// if we play those, we will only make the user deaf and break speakers. Sierra SCI doesn't play anything
|
||||
// on soundblaster. FIXME: check, why this is
|
||||
// Hoyle 4 has garbled audio resources in place of the sound resources.
|
||||
// The demo of GK1 has no alternate sound effects.
|
||||
if ((g_sci->getGameId() == GID_HOYLE4) ||
|
||||
(g_sci->getGameId() == GID_GK1 && g_sci->isDemo()))
|
||||
checkAudioResource = false;
|
||||
|
||||
if (checkAudioResource && _resMan->testResource(ResourceId(kResourceTypeAudio, newSound->resourceId))) {
|
||||
// Found a relevant audio resource, create an audio stream if there is
|
||||
|
Loading…
x
Reference in New Issue
Block a user