[Scummvm-cvs-logs] scummvm master -> af76409408fdee2e3ad1ce9fbd5be2a21f544f53
Strangerke
Strangerke at scummvm.org
Wed Jun 5 08:25:55 CEST 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:
af76409408 HOPKINS: Fix 2 glitches reported by greencis in win95 demos
Commit: af76409408fdee2e3ad1ce9fbd5be2a21f544f53
https://github.com/scummvm/scummvm/commit/af76409408fdee2e3ad1ce9fbd5be2a21f544f53
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-06-04T23:24:11-07:00
Commit Message:
HOPKINS: Fix 2 glitches reported by greencis in win95 demos
Changed paths:
engines/hopkins/hopkins.cpp
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index b023a2f..25c213f 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -156,12 +156,7 @@ bool HopkinsEngine::runWin95Demo() {
_events->_rateCounter = 0;
_globals->_eventMode = EVENTMODE_IGNORE;
_globals->_speed = 1;
-
- for (int i = 1; i < 50; i++) {
- _graphicsMan->copySurface(_graphicsMan->_backBuffer, 0, 0, 640, 440, _graphicsMan->_frontBuffer, 0, 0);
- _events->refreshScreenAndEvents();
- }
-
+ _events->delay(500);
_globals->_eventMode = EVENTMODE_DEFAULT;
if (_events->_rateCounter > 475)
_globals->_speed = 2;
More information about the Scummvm-git-logs
mailing list