aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2010-08-02 19:00:46 +0000
committerFlorian Kagerer2010-08-02 19:00:46 +0000
commit2964e9213de9d81e901156a76ee1fdad6707a268 (patch)
tree4e5b291117dd7c1cf8b9ed014bc41f13454c4c8b
parent7575c2be0b337cb88df0fe59ca297f38c34879c5 (diff)
downloadscummvm-rg350-2964e9213de9d81e901156a76ee1fdad6707a268.tar.gz
scummvm-rg350-2964e9213de9d81e901156a76ee1fdad6707a268.tar.bz2
scummvm-rg350-2964e9213de9d81e901156a76ee1fdad6707a268.zip
KYRA2: fix warning
svn-id: r51650
-rw-r--r--engines/kyra/sound_towns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp
index 2ed6d972c2..1209c6b69a 100644
--- a/engines/kyra/sound_towns.cpp
+++ b/engines/kyra/sound_towns.cpp
@@ -568,7 +568,7 @@ void SoundTownsPC98_v2::beginFadeOut() {
}
int32 SoundTownsPC98_v2::voicePlay(const char *file, Audio::SoundHandle *handle, uint8, bool) {
- static const uint16 rates[] = { 0x10E1, 0x0CA9, 0x0870, 0x0654, 0x0438, 0x032A, 0x021C, 0x0194 };
+ //static const uint16 rates[] = { 0x10E1, 0x0CA9, 0x0870, 0x0654, 0x0438, 0x032A, 0x021C, 0x0194 };
static const char patternHOF[] = "%s.PCM";
static const char patternLOL[] = "%s.VOC";
@@ -589,7 +589,7 @@ int32 SoundTownsPC98_v2::voicePlay(const char *file, Audio::SoundHandle *handle,
if (!src)
return 0;
- uint16 sfxRate = rates[READ_LE_UINT16(src)];
+ //uint16 sfxRate = rates[READ_LE_UINT16(src)];
src += 2;
bool compressed = (READ_LE_UINT16(src) & 1) ? true : false;
src += 2;