mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 18:41:12 +00:00
HOPKINS: Fix 2 glitches reported by greencis in win95 demos
This commit is contained in:
parent
08be916049
commit
af76409408
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user