aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-12-01 00:04:48 +1100
committerPaul Gilbert2012-12-01 00:04:48 +1100
commitd45b22f822187c2e23c9645986862c2edde2016b (patch)
tree488d05495841e612824087f9154fdfde8d44949b /engines
parent5bc956627ecc339c52da9c83982c279bca1872a4 (diff)
downloadscummvm-rg350-d45b22f822187c2e23c9645986862c2edde2016b.tar.gz
scummvm-rg350-d45b22f822187c2e23c9645986862c2edde2016b.tar.bz2
scummvm-rg350-d45b22f822187c2e23c9645986862c2edde2016b.zip
HOPKINS: Fix exiting game when displaying Breakout high score table
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/computer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp
index b682fc2936..d46cc55260 100644
--- a/engines/hopkins/computer.cpp
+++ b/engines/hopkins/computer.cpp
@@ -873,7 +873,7 @@ int ComputerManager::HIGHT_SCORE() {
&& (uint16)(v0 - 176) <= 0xDu)
v3 = 2;
_vm->_eventsManager.VBL();
- } while (!v3);
+ } while (!v3 && !_vm->shouldQuit());
_vm->_eventsManager.MOUSE_OFF();
_vm->_graphicsManager.FADE_OUT_CASSE();
_vm->_globals.LIBERE_FICHIER(ptr);