mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
Endian fix
svn-id: r29100
This commit is contained in:
parent
7308525489
commit
c89ef6060d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user