aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-11 04:04:04 +0200
committerFilippos Karapetis2012-12-11 04:04:04 +0200
commit344d6bc2dad335527085767dfa0734478e658747 (patch)
tree014f0adbd4ca472d2de2d39792d9cc23c18e245d
parentf23e7a246c900870dadf2ed764b22fd1b1795c03 (diff)
downloadscummvm-rg350-344d6bc2dad335527085767dfa0734478e658747.tar.gz
scummvm-rg350-344d6bc2dad335527085767dfa0734478e658747.tar.bz2
scummvm-rg350-344d6bc2dad335527085767dfa0734478e658747.zip
TINSEL: An additional endianess fix for DW1 Mac
This will also need testing on a BE system
-rw-r--r--engines/tinsel/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/object.cpp b/engines/tinsel/object.cpp
index c9a392f192..cbf1c86649 100644
--- a/engines/tinsel/object.cpp
+++ b/engines/tinsel/object.cpp
@@ -494,7 +494,7 @@ OBJECT *RectangleObject(SCNHANDLE hPal, int color, int width, int height) {
OBJECT *pRect = InitObject(&rectObj);
// allocate a palette for this object
- pPalQ = AllocPalette(hPal);
+ pPalQ = AllocPalette(FROM_32(hPal));
// make sure palette allocated
assert(pPalQ != NULL);