diff options
author | Bastien Bouclet | 2010-12-14 19:11:16 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-12-14 19:11:16 +0000 |
commit | d4ce60336166f2a18632e4bb3fe54d5bdff59651 (patch) | |
tree | a2f75bc39cc74313767af3222ec646a79513fe76 /engines/mohawk/myst_stacks/credits.cpp | |
parent | c2e48f5c085b9ae4ddeb2e6be21071fe4d1cc8bb (diff) | |
download | scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.tar.gz scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.tar.bz2 scummvm-rg350-d4ce60336166f2a18632e4bb3fe54d5bdff59651.zip |
MOHAWK: Rework Myst GFX updates
- Initial card state is drawn to the back buffer
- Script driven updates are drawn to the front buffer
Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly.
Fixes among others the generator room lights, and the matchbox.
svn-id: r54907
Diffstat (limited to 'engines/mohawk/myst_stacks/credits.cpp')
-rw-r--r-- | engines/mohawk/myst_stacks/credits.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp index 152740139a..7bd652079b 100644 --- a/engines/mohawk/myst_stacks/credits.cpp +++ b/engines/mohawk/myst_stacks/credits.cpp @@ -75,7 +75,7 @@ void MystScriptParser_Credits::runPersistentScripts() { // Note: The modulus by 6 is because the 6th image is the one at imageBaseId _vm->_gfx->copyImageToScreen(_baseImageId + curImageIndex % 6, Common::Rect(0, 0, 544, 333)); - _vm->_gfx->updateScreen(); + _vm->_system->updateScreen(); _vm->_varStore->setVar(_creditsVar, curImageIndex + 1); _lastCardTime = _vm->_system->getMillis(); |