aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorStrangerke2013-03-27 20:25:28 +0100
committerStrangerke2013-03-27 20:25:28 +0100
commit9addb1e77678d85cbfb9155896c9d863a3d14ac8 (patch)
tree34ad7ff85bb55e3cf44ac19c87fb022ec4a0fbe3 /engines/hopkins
parent40dcb8b406d36f65e3cd33ba7118bf55df35e92f (diff)
downloadscummvm-rg350-9addb1e77678d85cbfb9155896c9d863a3d14ac8.tar.gz
scummvm-rg350-9addb1e77678d85cbfb9155896c9d863a3d14ac8.tar.bz2
scummvm-rg350-9addb1e77678d85cbfb9155896c9d863a3d14ac8.zip
HOPKINS: Fix a couple of regressions in previous commit. Thanks fuzzie for noticing
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/anim.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp
index 95ac4836cb..458e8d25f3 100644
--- a/engines/hopkins/anim.cpp
+++ b/engines/hopkins/anim.cpp
@@ -662,7 +662,8 @@ void AnimationManager::playSequence(const Common::String &file, uint32 rate1, ui
_vm->_eventsManager->_rateCounter = 0;
_vm->_graphicsManager->lockScreen();
- _vm->_graphicsManager->copyVideoVbe16a(screenP);
+ if (*screenP != kByteStop)
+ _vm->_graphicsManager->copyVideoVbe16a(screenP);
_vm->_graphicsManager->unlockScreen();
_vm->_graphicsManager->addRefreshRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
@@ -769,7 +770,8 @@ void AnimationManager::playSequence2(const Common::String &file, uint32 rate1, u
_vm->_eventsManager->_rateCounter = 0;
_vm->_graphicsManager->lockScreen();
- _vm->_graphicsManager->copyVideoVbe16a(screenP);
+ if (*screenP != kByteStop)
+ _vm->_graphicsManager->copyVideoVbe16a(screenP);
_vm->_graphicsManager->unlockScreen();
_vm->_graphicsManager->addRefreshRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);