mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
TINSEL: Fix crash on big-endian hosts
This commit is contained in:
parent
050ec1ef31
commit
2a1b80fe18
@ -164,7 +164,7 @@ static void t0WrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply
|
||||
|
||||
// Horizontal loop
|
||||
for (int x = 0; x < pObj->width; ) {
|
||||
uint32 numBytes = READ_UINT32(srcP);
|
||||
uint32 numBytes = READ_LE_UINT32(srcP);
|
||||
srcP += sizeof(uint32);
|
||||
bool repeatFlag = (numBytes & 0x80000000L) != 0;
|
||||
numBytes &= 0x7fffffff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user