aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/play.cpp
diff options
context:
space:
mode:
authorJoost Peters2009-01-25 11:02:34 +0000
committerJoost Peters2009-01-25 11:02:34 +0000
commita0824205afaac86bd69c6bf14e4e3d5238cbc48d (patch)
treefa984ae0b8da5494471ba0d9ace4da52d4fec5b0 /engines/tinsel/play.cpp
parent79709646fb8902cecea1d7433ec95991805b5dd9 (diff)
downloadscummvm-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.cpp6
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());
}
}