diff options
author | Filippos Karapetis | 2012-12-15 08:07:58 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-15 08:14:54 +0200 |
commit | 1713d7ee3c1bad21c8dcc2cb5eba144eb692c9a4 (patch) | |
tree | 036e1fa926a11532828055ae9ca41a22ca781003 /engines | |
parent | 52f03174bb0202d3935394f315c5f1a57f1c27fd (diff) | |
download | scummvm-rg350-1713d7ee3c1bad21c8dcc2cb5eba144eb692c9a4.tar.gz scummvm-rg350-1713d7ee3c1bad21c8dcc2cb5eba144eb692c9a4.tar.bz2 scummvm-rg350-1713d7ee3c1bad21c8dcc2cb5eba144eb692c9a4.zip |
TINSEL: Always convert the inventory objects to the native endianess
This is needed for DW1 Mac
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/tinsel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 944613bcb7..e836fdff1f 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -730,8 +730,7 @@ void LoadBasicChunks() { cptr = FindChunk(INV_OBJ_SCNHANDLE, CHUNK_OBJECTS); -#ifdef SCUMM_BIG_ENDIAN - //convert to native endianness + // Convert to native endianness INV_OBJECT *io = (INV_OBJECT *)cptr; for (int i = 0; i < numObjects; i++, io++) { io->id = FROM_32(io->id); @@ -739,7 +738,6 @@ void LoadBasicChunks() { io->hScript = FROM_32(io->hScript); io->attribute = FROM_32(io->attribute); } -#endif RegisterIcons(cptr, numObjects); |