diff options
author | Bastien Bouclet | 2016-08-04 07:19:51 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 2fbe284a311f2eef62126115ddd6d2bb483b3c4b (patch) | |
tree | a2060178230eea11edd7704c5b006ae9d17c55ba /engines/mohawk/riven_card.cpp | |
parent | 1bb5424dddca2cf150fa1a09f4845e193b581e3e (diff) | |
download | scummvm-rg350-2fbe284a311f2eef62126115ddd6d2bb483b3c4b.tar.gz scummvm-rg350-2fbe284a311f2eef62126115ddd6d2bb483b3c4b.tar.bz2 scummvm-rg350-2fbe284a311f2eef62126115ddd6d2bb483b3c4b.zip |
MOHAWK: Chane Riven's graphics manager to automatically handle screen updates
Diffstat (limited to 'engines/mohawk/riven_card.cpp')
-rw-r--r-- | engines/mohawk/riven_card.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index 54b588c2a0..9bb5a2e91a 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -23,7 +23,7 @@ #include "mohawk/riven_card.h" #include "mohawk/riven_graphics.h" -#include "mohawk/sound.h" +#include "mohawk/riven_sound.h" #include "mohawk/resource.h" #include "mohawk/riven.h" @@ -55,11 +55,12 @@ void RivenCard::open() { _vm->_activatedPLST = false; _vm->_activatedSLST = false; + _vm->_gfx->beginScreenUpdate(); runScript(kCardLoadScript); defaultLoadScript(); initializeZipMode(); - _vm->_gfx->updateScreen(); + _vm->_gfx->applyScreenUpdate(true); runScript(kCardOpenScript); } |