Skip to content

Commit

Permalink
HOPKINS: Fix 2 glitches reported by greencis in win95 demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jun 5, 2013
1 parent 08be916 commit af76409
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions engines/hopkins/hopkins.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit af76409

Please sign in to comment.