mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
BASE: Remove FORCE_RETURN_TO_LAUNCHER define
This was only used by the ps2 backend, and that backend no longer exists. Also now backends that want to force RTL should use the kFeatureNoQuit OSystem feature instead.
This commit is contained in:
parent
9e5540f838
commit
4518f73f92
@ -620,11 +620,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
||||
}
|
||||
|
||||
// Quit unless an error occurred, or Return to launcher was requested
|
||||
#ifndef FORCE_RETURN_TO_LAUNCHER
|
||||
if (result.getCode() == Common::kNoError && !g_system->getEventManager()->shouldReturnToLauncher() &&
|
||||
!g_system->hasFeature(OSystem::kFeatureNoQuit) && !ConfMan.getBool("gui_return_to_launcher_at_exit"))
|
||||
break;
|
||||
#endif
|
||||
|
||||
// Reset the return to launcher and quit flags in case we want to load another engine
|
||||
g_system->getEventManager()->resetReturnToLauncher();
|
||||
g_system->getEventManager()->resetQuit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user