aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/scn.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-10 17:17:16 +0200
committerFilippos Karapetis2012-12-10 17:38:22 +0200
commitc6cf4827d719c1833ce4d7e108410db81f00c358 (patch)
treead187c2321e12082d649fc9033cb6ee604a8f23a /engines/tinsel/scn.cpp
parent00e51699917bcfe38689cd0269bd899624083bf9 (diff)
downloadscummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.tar.gz
scummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.tar.bz2
scummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.zip
TINSEL: Revert most of the engine BE resource handling code
This was added in commit 3fdddd53b2b970aae3e967bebc0bff6e642a5111. However, having handling for both BE and LE resource complicates the engine code unnecessarily. Thus, a different approach will be done.
Diffstat (limited to 'engines/tinsel/scn.cpp')
-rw-r--r--engines/tinsel/scn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/scn.cpp b/engines/tinsel/scn.cpp
index 70093447ff..168dcf464f 100644
--- a/engines/tinsel/scn.cpp
+++ b/engines/tinsel/scn.cpp
@@ -54,11 +54,11 @@ byte *FindChunk(SCNHANDLE handle, uint32 chunk) {
chunk -= 0x2L;
while (1) {
- if (READ_32(lptr) == chunk)
+ if (READ_LE_UINT32(lptr) == chunk)
return (byte *)(lptr + 2);
++lptr;
- add = READ_32(lptr);
+ add = READ_LE_UINT32(lptr);
if (!add)
// End of file reached