mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
We are reading LE data even on BE system
svn-id: r20551
This commit is contained in:
parent
f17ee19004
commit
fc556b789a
@ -65,7 +65,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
|
||||
// Get line length
|
||||
len = (uint16) *pLines++;
|
||||
if (len == 0) {
|
||||
len = *((uint16 *) pLines);
|
||||
len = READ_LE_UINT16(pLines);
|
||||
pLines += 2;
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
|
||||
// Get the offset inc amount
|
||||
len = (uint16) *pLines++;
|
||||
if (len == 0) {
|
||||
len = *((uint16 *) pLines);
|
||||
len = READ_LE_UINT16(pLines);
|
||||
pLines += 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user