From c679aa72c3623383a591ad30ebf36286c7ce47df Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Thu, 14 Apr 2011 13:04:29 +0200 Subject: [PATCH] TSAGE: Big Endian fix --- engines/tsage/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 81088b4eaa0..7fff9603e10 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -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);