aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorStrangerke2013-06-05 08:24:11 +0200
committerStrangerke2013-06-05 08:24:11 +0200
commitaf76409408fdee2e3ad1ce9fbd5be2a21f544f53 (patch)
tree223fcf0484e1c93def03b50702823676465060ce /engines/hopkins
parent08be91604900f0d43380b3429a2aef87378c710f (diff)
downloadscummvm-rg350-af76409408fdee2e3ad1ce9fbd5be2a21f544f53.tar.gz
scummvm-rg350-af76409408fdee2e3ad1ce9fbd5be2a21f544f53.tar.bz2
scummvm-rg350-af76409408fdee2e3ad1ce9fbd5be2a21f544f53.zip
HOPKINS: Fix 2 glitches reported by greencis in win95 demos
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/hopkins.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index b023a2fedb..25c213f8ec 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;