aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres_lol.cpp
diff options
context:
space:
mode:
authorathrxx2018-10-28 15:45:55 +0100
committerathrxx2018-10-28 15:45:55 +0100
commit3ae1d92f179d7062bb3291eb69748be060a046f3 (patch)
tree1575c4de9307df38dcaf55403b80b2e65afb1531 /engines/kyra/staticres_lol.cpp
parent0b746971f103a620013dc9145ab6d3038e378192 (diff)
downloadscummvm-rg350-3ae1d92f179d7062bb3291eb69748be060a046f3.tar.gz
scummvm-rg350-3ae1d92f179d7062bb3291eb69748be060a046f3.tar.bz2
scummvm-rg350-3ae1d92f179d7062bb3291eb69748be060a046f3.zip
KYRA: (LOL) - clean up sound map data formatting
This is a followup to the fix for bug #10665 (Urbish mines lobster having an invalid sound track number and causing invalid memory access).
Diffstat (limited to 'engines/kyra/staticres_lol.cpp')
-rw-r--r--engines/kyra/staticres_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres_lol.cpp b/engines/kyra/staticres_lol.cpp
index c40b4a0c7d..e8d2a4ce70 100644
--- a/engines/kyra/staticres_lol.cpp
+++ b/engines/kyra/staticres_lol.cpp
@@ -255,7 +255,7 @@ void LoLEngine::initStaticResource() {
int tempSize;
_pakFileList = _staticres->loadStrings(kLoLIngamePakFiles, _pakFileListSize);
_charDefaults = _staticres->loadCharData(kLoLCharacterDefs, _charDefaultsSize);
- _ingameSoundIndex = (const uint16 *)_staticres->loadRawData(kLoLIngameSfxIndex, _ingameSoundIndexSize);
+ _ingameSoundIndex = (const int16 *)_staticres->loadRawDataBe16(kLoLIngameSfxIndex, _ingameSoundIndexSize);
_musicTrackMap = _staticres->loadRawData(kLoLMusicTrackMap, tempSize);
_ingameGMSoundIndex = _staticres->loadRawData(kLoLIngameGMSfxIndex, _ingameGMSoundIndexSize);
_ingameMT32SoundIndex = _staticres->loadRawData(kLoLIngameMT32SfxIndex, _ingameMT32SoundIndexSize);