[Scummvm-cvs-logs] scummvm master -> c679aa72c3623383a591ad30ebf36286c7ce47df

joostp joostp at 7fc1.org
Thu Apr 14 13:07:48 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c679aa72c3 TSAGE: Big Endian fix


Commit: c679aa72c3623383a591ad30ebf36286c7ce47df
    https://github.com/scummvm/scummvm/commit/c679aa72c3623383a591ad30ebf36286c7ce47df
Author: Joost Peters (joostp at scummvm.org)
Date: 2011-04-14T04:04:29-07:00

Commit Message:
TSAGE: Big Endian fix

Changed paths:
    engines/tsage/core.cpp



diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 81088b4..7fff960 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);






More information about the Scummvm-git-logs mailing list