aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-29 10:42:53 +0000
committerJames Brown2002-04-29 10:42:53 +0000
commit4d5a8492fb85ac22e2f03f17a87d98d6843c170d (patch)
tree584a7dd28c754d879d059e02716c0ce83a4f10af /sound.cpp
parent991d988b23128144c9a281f639acaf5575d2ff11 (diff)
downloadscummvm-rg350-4d5a8492fb85ac22e2f03f17a87d98d6843c170d.tar.gz
scummvm-rg350-4d5a8492fb85ac22e2f03f17a87d98d6843c170d.tar.bz2
scummvm-rg350-4d5a8492fb85ac22e2f03f17a87d98d6843c170d.zip
Fix compile issue.
svn-id: r4133
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound.cpp b/sound.cpp
index 0c7dde35b5..718c7c61f9 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -755,13 +755,13 @@ void Scumm::decompressBundleSound(int index) {
/* FIXME: This is nasty. We are actually sending the whole
decompressed packet to the mixer.. but the packet
actually contains further subblocks! (eg, sync) */
- _mixer->play_raw(NULL, CompFinal, finalSize,22050, SoundMixer::FLAG_UNSIGNED|SoundMixer::FLAG_AUTOFREE);
+ _mixer->play_raw(NULL, CompFinal, finalSize,22050, SoundMixer::FLAG_AUTOFREE|SoundMixer::FLAG_UNSIGNED);
}
void Scumm::playBundleSound(char *sound)
{
for (int i=0; i < num_sound_effects; i++) {
- if (!stricmp(sound, bundle_table[i].filename)) {
+ if (!scumm_stricmp(sound, bundle_table[i].filename)) {
decompressBundleSound(i);
return;
}