mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
GUI: Only show the quit dialog in absence of an engine GUI override
This commit is contained in:
parent
90c0c805d4
commit
aae1cac682
@ -180,7 +180,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
|
||||
break;
|
||||
|
||||
case Common::EVENT_RETURN_TO_LAUNCHER:
|
||||
if (ConfMan.getBool("confirm_exit")) {
|
||||
if (g_engine && !g_engine->hasFeature(Engine::kSupportsQuitDialogOverride) && ConfMan.getBool("confirm_exit")) {
|
||||
if (_confirmExitDialogActive) {
|
||||
forwardEvent = false;
|
||||
break;
|
||||
@ -204,7 +204,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
|
||||
break;
|
||||
|
||||
case Common::EVENT_QUIT:
|
||||
if (g_engine && ConfMan.getBool("confirm_exit")) {
|
||||
if (g_engine && !g_engine->hasFeature(Engine::kSupportsQuitDialogOverride) && ConfMan.getBool("confirm_exit")) {
|
||||
if (_confirmExitDialogActive) {
|
||||
forwardEvent = false;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user