TSAGE: Big Endian fix

This commit is contained in:
Joost Peters 2011-04-14 13:04:29 +02:00
parent 4e8c047d4a
commit c679aa72c3

View File

@ -2654,7 +2654,7 @@ GfxSurface Visage::getFrame(int frameNum) {
if (frameNum > 0)
--frameNum;
int offset = READ_UINT32(_data + 2 + frameNum * 4);
int offset = READ_LE_UINT32(_data + 2 + frameNum * 4);
byte *frameData = _data + offset;
return surfaceFromRes(frameData);