[Scummvm-cvs-logs] scummvm master -> 9addb1e77678d85cbfb9155896c9d863a3d14ac8
Strangerke
Strangerke at scummvm.org
Wed Mar 27 20:27:21 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9addb1e776 HOPKINS: Fix a couple of regressions in previous commit. Thanks fuzzie for noticing
Commit: 9addb1e77678d85cbfb9155896c9d863a3d14ac8
https://github.com/scummvm/scummvm/commit/9addb1e77678d85cbfb9155896c9d863a3d14ac8
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-03-27T12:25:28-07:00
Commit Message:
HOPKINS: Fix a couple of regressions in previous commit. Thanks fuzzie for noticing
Changed paths:
engines/hopkins/anim.cpp
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp
index 95ac483..458e8d2 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);
More information about the Scummvm-git-logs
mailing list