diff options
author | Filippos Karapetis | 2012-12-01 21:53:33 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-01 21:53:33 +0200 |
commit | 3fdddd53b2b970aae3e967bebc0bff6e642a5111 (patch) | |
tree | d20ba561d9c2896e8b533440f9f614e5cd9d6c64 /engines/tinsel/bg.cpp | |
parent | 8e09661e247f9955df64eb98eae0f90390b5ba24 (diff) | |
download | scummvm-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/bg.cpp')
-rw-r--r-- | engines/tinsel/bg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/bg.cpp b/engines/tinsel/bg.cpp index a3e21a8227..0c0db12c32 100644 --- a/engines/tinsel/bg.cpp +++ b/engines/tinsel/bg.cpp @@ -124,7 +124,7 @@ static void BGmainProcess(CORO_PARAM, const void *param) { pReel = (const FREEL *)param; // Get the MULTI_INIT structure - pmi = (const MULTI_INIT *)LockMem(FROM_LE_32(pReel->mobj)); + pmi = (const MULTI_INIT *)LockMem(FROM_32(pReel->mobj)); // Initialize and insert the object, and initialize its script. g_pBG[0] = MultiInitObject(pmi); @@ -249,10 +249,10 @@ void StartupBackground(CORO_PARAM, SCNHANDLE hFilm) { pim = GetImageFromFilm(hFilm, 0, NULL, NULL, &pfilm); - SetBackPal(FROM_LE_32(pim->hImgPal)); + SetBackPal(FROM_32(pim->hImgPal)); // Extract the film speed - g_BGspeed = ONE_SECOND / FROM_LE_32(pfilm->frate); + g_BGspeed = ONE_SECOND / FROM_32(pfilm->frate); // Start display process for each reel in the film CoroScheduler.createProcess(PID_REEL, BGmainProcess, &pfilm->reels[0], sizeof(FREEL)); |