aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2004-12-16 10:06:43 +0000
committerRobert Göffringmann2004-12-16 10:06:43 +0000
commite6ea45bd227193b39f44432c2acf2ee917313180 (patch)
tree6a4c248c0c07bd86441e5536def758c51cea422c /sky
parentadbe2b8c49111e0d80a3a9e2890e7817e48ec60c (diff)
downloadscummvm-rg350-e6ea45bd227193b39f44432c2acf2ee917313180.tar.gz
scummvm-rg350-e6ea45bd227193b39f44432c2acf2ee917313180.tar.bz2
scummvm-rg350-e6ea45bd227193b39f44432c2acf2ee917313180.zip
fix escaping the intro on BE systems
svn-id: r16075
Diffstat (limited to 'sky')
-rw-r--r--sky/compact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/compact.cpp b/sky/compact.cpp
index 46e9c11c34..e294b8b6f1 100644
--- a/sky/compact.cpp
+++ b/sky/compact.cpp
@@ -396,7 +396,7 @@ uint8 *SkyCompact::createResetData(uint16 gameVersion) {
if (version == gameVersion) {
for (uint16 diffCnt = 0; diffCnt < diffFields; diffCnt++) {
uint16 pos = _cptFile->readUint16LE();
- resetBuf[pos] = _cptFile->readUint16LE();
+ resetBuf[pos] = TO_LE_16(_cptFile->readUint16LE());
}
return (uint8*)resetBuf;
} else