diff options
author | Martin Kiewitz | 2016-02-03 02:21:07 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-03 02:21:07 +0100 |
commit | 778c1ddb69bb45b6992fdc9b8fff6b2c8d3e22ac (patch) | |
tree | 51c8437a6c8eab0bd70ef313d71a562f20fca22e /engines/agi/systemui.cpp | |
parent | c2038e00d001c93a37028864ad661b89377686c9 (diff) | |
download | scummvm-rg350-778c1ddb69bb45b6992fdc9b8fff6b2c8d3e22ac.tar.gz scummvm-rg350-778c1ddb69bb45b6992fdc9b8fff6b2c8d3e22ac.tar.bz2 scummvm-rg350-778c1ddb69bb45b6992fdc9b8fff6b2c8d3e22ac.zip |
AGI: Cycle event processing changed
processEvents() renamed to processScummVMEvents()
mainCycle() renamed to processAGIEvents()
have.key now sets up an inner loop and calls processAGIEvents()
to avoid any further cycle work processing
Diffstat (limited to 'engines/agi/systemui.cpp')
-rw-r--r-- | engines/agi/systemui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp index aa1b2e4127..2d82730f78 100644 --- a/engines/agi/systemui.cpp +++ b/engines/agi/systemui.cpp @@ -287,7 +287,7 @@ int16 SystemUI::askForSavedGameSlot(const char *slotListText) { _vm->cycleInnerLoopActive(CYCLE_INNERLOOP_SYSTEMUI_SELECTSAVEDGAMESLOT); do { - _vm->mainCycle(); + _vm->processAGIEvents(); } while (_vm->cycleInnerLoopIsActive() && !(_vm->shouldQuit() || _vm->_restartGame)); _text->closeWindow(); |