[Scummvm-cvs-logs] scummvm master -> 7ab0de238efd6186c5137d399f8d2915909e91c5
lordhoto
lordhoto at gmail.com
Sun Feb 28 12:25:41 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:
7ab0de238e CINE: Fix SPL resource loading (thus SFX).
Commit: 7ab0de238efd6186c5137d399f8d2915909e91c5
https://github.com/scummvm/scummvm/commit/7ab0de238efd6186c5137d399f8d2915909e91c5
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2016-02-28T12:25:14+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