From 5bc956627ecc339c52da9c83982c279bca1872a4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 1 Dec 2012 00:01:37 +1100 Subject: HOPKINS: Clean up multiple VBL calls in NAME_SCORE --- engines/hopkins/computer.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'engines') 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 = " "; -- cgit v1.2.3