diff options
author | Joost Peters | 2009-01-25 11:02:34 +0000 |
---|---|---|
committer | Joost Peters | 2009-01-25 11:02:34 +0000 |
commit | a0824205afaac86bd69c6bf14e4e3d5238cbc48d (patch) | |
tree | fa984ae0b8da5494471ba0d9ace4da52d4fec5b0 /engines/tinsel/play.cpp | |
parent | 79709646fb8902cecea1d7433ec95991805b5dd9 (diff) | |
download | scummvm-rg350-a0824205afaac86bd69c6bf14e4e3d5238cbc48d.tar.gz scummvm-rg350-a0824205afaac86bd69c6bf14e4e3d5238cbc48d.tar.bz2 scummvm-rg350-a0824205afaac86bd69c6bf14e4e3d5238cbc48d.zip |
some DW2 endian fixes
svn-id: r36058
Diffstat (limited to 'engines/tinsel/play.cpp')
-rw-r--r-- | engines/tinsel/play.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/play.cpp b/engines/tinsel/play.cpp index 55616863ee..15e5c95f3d 100644 --- a/engines/tinsel/play.cpp +++ b/engines/tinsel/play.cpp @@ -97,12 +97,12 @@ void PokeInPalette(const MULTI_INIT *pmi) { // Could be an empty column if (pmi->hMulFrame) { - pFrame = (FRAME *)LockMem(pmi->hMulFrame); + pFrame = (FRAME *)LockMem(FROM_LE_32(pmi->hMulFrame)); // get pointer to image - pim = (IMAGE *)LockMem(*pFrame); // handle to image + pim = (IMAGE *)LockMem(READ_LE_UINT32(pFrame)); // handle to image - pim->hImgPal = BgPal(); + pim->hImgPal = TO_LE_32(BgPal()); } } |