aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/anim.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-28 12:10:28 +0100
committerJohannes Schickel2016-02-28 12:25:14 +0100
commit7ab0de238efd6186c5137d399f8d2915909e91c5 (patch)
treed0bdb1b38089e513bdc7912e8899eee56f0f88e5 /engines/cine/anim.cpp
parent953c26cbf6601ce9191f1d45f2f0205e836efe29 (diff)
downloadscummvm-rg350-7ab0de238efd6186c5137d399f8d2915909e91c5.tar.gz
scummvm-rg350-7ab0de238efd6186c5137d399f8d2915909e91c5.tar.bz2
scummvm-rg350-7ab0de238efd6186c5137d399f8d2915909e91c5.zip
CINE: Fix SPL resource loading (thus SFX).
Confirmed against DOS disasm. There is no header for SPL data.
Diffstat (limited to 'engines/cine/anim.cpp')
-rw-r--r--engines/cine/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index c6099447d8..6ecf07fe15 100644
--- a/engines/cine/anim.cpp
+++ b/engines/cine/anim.cpp
@@ -535,7 +535,7 @@ int loadSpl(const char *resourceName, int16 idx) {
entry = idx < 0 ? emptyAnimSpace() : idx;
assert(entry >= 0);
- g_cine->_animDataTable[entry].load(dataPtr + 0x16, ANIM_RAW, g_cine->_partBuffer[foundFileIdx].unpackedSize - 0x16, 1, foundFileIdx, 0, currentPartName);
+ g_cine->_animDataTable[entry].load(dataPtr, ANIM_RAW, g_cine->_partBuffer[foundFileIdx].unpackedSize, 1, foundFileIdx, 0, currentPartName);
free(dataPtr);
return entry + 1;