aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-12-01 00:01:37 +1100
committerPaul Gilbert2012-12-01 00:01:37 +1100
commit5bc956627ecc339c52da9c83982c279bca1872a4 (patch)
treeb4df0304c7b8ac6f3aa80f7e864f7246eb57b1a9 /engines
parent0ece49e5cbe3d0360f097c9566587774108d62dd (diff)
downloadscummvm-rg350-5bc956627ecc339c52da9c83982c279bca1872a4.tar.gz
scummvm-rg350-5bc956627ecc339c52da9c83982c279bca1872a4.tar.bz2
scummvm-rg350-5bc956627ecc339c52da9c83982c279bca1872a4.zip
HOPKINS: Clean up multiple VBL calls in NAME_SCORE
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/computer.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp
index d2e1209516..b682fc2936 100644
--- a/engines/hopkins/computer.cpp
+++ b/engines/hopkins/computer.cpp
@@ -904,18 +904,8 @@ void ComputerManager::NAME_SCORE() {
Score[5].name.setChar(curChar, strPos);
PRINT_HSCORE(ptr, 9 * strPos + 140, 78, curChar);
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
- _vm->_eventsManager.VBL();
+ for (int idx = 0; idx < 12; ++idx)
+ _vm->_eventsManager.VBL();
}
Score[5].score = " ";