mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
Allow quitting / returning to launcher while showing "selection boxes", e.g. the
pause game dialog. svn-id: r35445
This commit is contained in:
parent
6baa803dff
commit
a4e08d94fc
@ -364,7 +364,7 @@ int AgiEngine::selectionBox(const char *m, const char **b) {
|
||||
AllowSyntheticEvents on(this);
|
||||
|
||||
debugC(4, kDebugLevelText, "waiting...");
|
||||
for (;;) {
|
||||
while (!shouldQuit()) {
|
||||
for (i = 0; b[i]; i++)
|
||||
_gfx->drawCurrentStyleButton(bx[i], by[i], b[i], i == active, false, i == 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user