mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
Fixed an incorrect copy/paste
svn-id: r29850
This commit is contained in:
parent
30be440557
commit
280d634455
@ -379,11 +379,12 @@ void loadSpl(const char *resourceName, int16 idx) {
|
||||
|
||||
if (idx >= 0) {
|
||||
entry = reserveFrame((uint16) partBuffer[foundFileIdx].unpackedSize, 1, 0, idx);
|
||||
assert(entry != -1);
|
||||
memcpy(animDataTable[entry].ptr1, dataPtr, (uint16) partBuffer[foundFileIdx].unpackedSize);
|
||||
memcpy(animDataTable[entry].ptr1, dataPtr, partBuffer[foundFileIdx].unpackedSize);
|
||||
} else {
|
||||
entry = allocFrame((uint16) partBuffer[foundFileIdx].unpackedSize, 1, -1);
|
||||
memcpy(animDataTable[entry].ptr1, dataPtr, partBuffer[foundFileIdx].unpackedSize);
|
||||
assert(entry != -1);
|
||||
memcpy(animDataTable[entry].ptr1, dataPtr, (uint16) partBuffer[foundFileIdx].unpackedSize);
|
||||
|
||||
animDataTable[entry].fileIdx = foundFileIdx;
|
||||
animDataTable[entry].frameIdx = 0;
|
||||
strcpy(animDataTable[entry].name, currentPartName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user