mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
STARK: Fix in-game quit option not respecting the Always RTL option
This was due to the engine both exiting immediately from the game loop and pushing a QUIT_EVENT (through the call to quitGame()). This meant that that QUIT_EVENT was processed only after the game had already returned to the launcher, causing the launcher to close. This fixes bug #12904
This commit is contained in:
parent
68975ab5a4
commit
3e06dd3630
@ -153,10 +153,8 @@ void StarkEngine::mainLoop() {
|
||||
|
||||
processEvents();
|
||||
|
||||
if (StarkUserInterface->shouldExit()) {
|
||||
quitGame();
|
||||
if (StarkUserInterface->shouldExit())
|
||||
break;
|
||||
}
|
||||
|
||||
if (StarkResourceProvider->hasLocationChangeRequest()) {
|
||||
StarkGlobal->setNormalSpeed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user