aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hopkins/hopkins.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 062337df4d..0ce9b6d1cb 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -154,12 +154,10 @@ bool HopkinsEngine::runWin95Demo() {
_globals.iRegul = 1;
_globals.vitesse = 1;
- int v23 = 1;
- do {
- ++v23;
+ for (int i = 1; i < 50; i++) {
_graphicsManager.SCOPY(_graphicsManager.VESA_SCREEN, 0, 0, 640, 440, _graphicsManager.VESA_BUFFER, 0, 0);
_eventsManager.VBL();
- } while (v23 < 50);
+ }
_globals.iRegul = 0;
warning("TODO SPEEDJ = _globals.lItCounter;");