mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
CINE: Fix SPL resource loading (thus SFX).
Confirmed against DOS disasm. There is no header for SPL data.
This commit is contained in:
parent
953c26cbf6
commit
7ab0de238e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user