aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/font.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-01 21:53:33 +0200
committerFilippos Karapetis2012-12-01 21:53:33 +0200
commit3fdddd53b2b970aae3e967bebc0bff6e642a5111 (patch)
treed20ba561d9c2896e8b533440f9f614e5cd9d6c64 /engines/tinsel/font.cpp
parent8e09661e247f9955df64eb98eae0f90390b5ba24 (diff)
downloadscummvm-rg350-3fdddd53b2b970aae3e967bebc0bff6e642a5111.tar.gz
scummvm-rg350-3fdddd53b2b970aae3e967bebc0bff6e642a5111.tar.bz2
scummvm-rg350-3fdddd53b2b970aae3e967bebc0bff6e642a5111.zip
TINSEL: Start handling the BE resources of the Mac versions of DW1
Refer to bug #3110936 This is still work in progress, but it doesn't affect the rest of the LE versions of DW1. Both the Mac demo and the full version still crash. The music in the Mac version is skipped for now, as it isn't MIDI
Diffstat (limited to 'engines/tinsel/font.cpp')
-rw-r--r--engines/tinsel/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/font.cpp b/engines/tinsel/font.cpp
index 54aa7cc15f..6f7c3919c9 100644
--- a/engines/tinsel/font.cpp
+++ b/engines/tinsel/font.cpp
@@ -102,14 +102,14 @@ void FettleFontPal(SCNHANDLE fontPal) {
assert(g_hTalkFont); // Talk font not declared
pFont = (const FONT *)LockMem(g_hTagFont);
- pImg = (IMAGE *)LockMem(FROM_LE_32(pFont->fontInit.hObjImg)); // get image for char 0
+ pImg = (IMAGE *)LockMem(FROM_32(pFont->fontInit.hObjImg)); // get image for char 0
if (!TinselV2)
pImg->hImgPal = TO_LE_32(fontPal);
else
pImg->hImgPal = 0;
pFont = (const FONT *)LockMem(g_hTalkFont);
- pImg = (IMAGE *)LockMem(FROM_LE_32(pFont->fontInit.hObjImg)); // get image for char 0
+ pImg = (IMAGE *)LockMem(FROM_32(pFont->fontInit.hObjImg)); // get image for char 0
if (!TinselV2)
pImg->hImgPal = TO_LE_32(fontPal);
else