diff options
author | Filippos Karapetis | 2012-12-10 17:17:16 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-10 17:38:22 +0200 |
commit | c6cf4827d719c1833ce4d7e108410db81f00c358 (patch) | |
tree | ad187c2321e12082d649fc9033cb6ee604a8f23a /engines/tinsel/font.cpp | |
parent | 00e51699917bcfe38689cd0269bd899624083bf9 (diff) | |
download | scummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.tar.gz scummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.tar.bz2 scummvm-rg350-c6cf4827d719c1833ce4d7e108410db81f00c358.zip |
TINSEL: Revert most of the engine BE resource handling code
This was added in commit 3fdddd53b2b970aae3e967bebc0bff6e642a5111.
However, having handling for both BE and LE resource complicates
the engine code unnecessarily. Thus, a different approach will be
done.
Diffstat (limited to 'engines/tinsel/font.cpp')
-rw-r--r-- | engines/tinsel/font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/font.cpp b/engines/tinsel/font.cpp index 6f7c3919c9..54aa7cc15f 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_32(pFont->fontInit.hObjImg)); // get image for char 0 + pImg = (IMAGE *)LockMem(FROM_LE_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_32(pFont->fontInit.hObjImg)); // get image for char 0 + pImg = (IMAGE *)LockMem(FROM_LE_32(pFont->fontInit.hObjImg)); // get image for char 0 if (!TinselV2) pImg->hImgPal = TO_LE_32(fontPal); else |