[Scummvm-cvs-logs] scummvm branch-1-8 -> 3b220429d1423ff5d5ca2b64262323d5f5fd239a
lordhoto
lordhoto at gmail.com
Sun Feb 28 12:36:48 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3b220429d1 CINE: Fix SPL resource loading (thus SFX).
Commit: 3b220429d1423ff5d5ca2b64262323d5f5fd239a
https://github.com/scummvm/scummvm/commit/3b220429d1423ff5d5ca2b64262323d5f5fd239a
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-02-28T12:36:27+01:00
Commit Message:
CINE: Fix SPL resource loading (thus SFX).
Confirmed against DOS disasm. There is no header for SPL data.
Changed paths:
engines/cine/anim.cpp
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index c609944..6ecf07f 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;
More information about the Scummvm-git-logs
mailing list