aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/charset.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-01-03 13:11:42 +0000
committerTorbjörn Andersson2009-01-03 13:11:42 +0000
commit23e6fff0bfb226a2bb7ab84833a9184eee1118d3 (patch)
treecd56bc02755a1346f253a9e2a3f001227a0e6838 /engines/agos/charset.cpp
parent5de6898694ab3588b1843846bd18f94ee1ac2314 (diff)
downloadscummvm-rg350-23e6fff0bfb226a2bb7ab84833a9184eee1118d3.tar.gz
scummvm-rg350-23e6fff0bfb226a2bb7ab84833a9184eee1118d3.tar.bz2
scummvm-rg350-23e6fff0bfb226a2bb7ab84833a9184eee1118d3.zip
Make it possible to quit or return to launcher while the Feeble Files list of
savegames is scrolling by. (Agonizingly slowly.) svn-id: r35697
Diffstat (limited to 'engines/agos/charset.cpp')
-rw-r--r--engines/agos/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp
index 1f3017555c..4bbd02ccbd 100644
--- a/engines/agos/charset.cpp
+++ b/engines/agos/charset.cpp
@@ -38,7 +38,7 @@ void AGOSEngine_Feeble::doOutput(const byte *src, uint len) {
if (_textWindow == NULL)
return;
- while (len-- != 0) {
+ while (len-- != 0 && !shouldQuit()) {
if (getBitFlag(93)) {
if (_curWindow == 3) {
if ((_newLines >= _textWindow->scrollY) && (_newLines < (_textWindow->scrollY + 3)))