From 588d0235ae954120bdad38415a648f59a3b0b35f Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 26 Jul 2019 10:49:21 +0530 Subject: HDB: Comment out SND code until data is found --- engines/hdb/sound.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/hdb') diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp index 4fa5e2b117..a1c220c597 100644 --- a/engines/hdb/sound.cpp +++ b/engines/hdb/sound.cpp @@ -1464,7 +1464,7 @@ void Sound::setMusicVolume(int volume) { } bool Sound::playSound(int index) { - +#if 0 if (index > _numSounds || !_sfxVolume) return false; @@ -1507,11 +1507,12 @@ bool Sound::playSound(int index) { g_hdb->_mixer->setChannelVolume(_handles[soundChannel], _sfxVolume); g_hdb->_mixer->playStream(Audio::Mixer::kSFXSoundType, &_handles[soundChannel], _soundCache[index].audioStream); - +#endif return true; } bool Sound::playSoundEx(int index, int channel, bool loop) { +#if 0 if (g_hdb->_mixer->isSoundHandleActive(_handles[channel])) return false; @@ -1548,7 +1549,7 @@ bool Sound::playSoundEx(int index, int channel, bool loop) { } else { g_hdb->_mixer->playStream(Audio::Mixer::kSFXSoundType, &_handles[channel], _soundCache[index].audioStream); } - +#endif return true; } -- cgit v1.2.3