diff options
author | Max Horn | 2007-09-26 18:23:31 +0000 |
---|---|---|
committer | Max Horn | 2007-09-26 18:23:31 +0000 |
commit | c89ef6060daf64603b74ec49fc9f87b2c5c4e64b (patch) | |
tree | 15d93d759a574916d17f8ef53b44404b314f9427 | |
parent | 730852548980d9bba805c3307354f0693069e8c8 (diff) | |
download | scummvm-rg350-c89ef6060daf64603b74ec49fc9f87b2c5c4e64b.tar.gz scummvm-rg350-c89ef6060daf64603b74ec49fc9f87b2c5c4e64b.tar.bz2 scummvm-rg350-c89ef6060daf64603b74ec49fc9f87b2c5c4e64b.zip |
Endian fix
svn-id: r29100
-rw-r--r-- | tools/create_lure/create_lure_dat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create_lure/create_lure_dat.cpp b/tools/create_lure/create_lure_dat.cpp index 93095ffc0d..6833a8678d 100644 --- a/tools/create_lure/create_lure_dat.cpp +++ b/tools/create_lure/create_lure_dat.cpp @@ -150,7 +150,7 @@ void read_room_data(byte *&data, uint16 &totalSize) { *offsetPtr++ = TO_LE_16(offset); // Copy over basic room details - lureExe.seek(dataSegment + headerEntry.offset); + lureExe.seek(dataSegment + FROM_LE_16(headerEntry.offset)); lureExe.read(&buffer, sizeof(RoomResource)); RoomResourceOutput *rec = (RoomResourceOutput *) (data + offset); rec->hdrFlags = headerEntry.hdrFlags; |