diff options
author | Max Lingua | 2009-07-12 05:35:56 +0000 |
---|---|---|
committer | Max Lingua | 2009-07-12 05:35:56 +0000 |
commit | 17b1c6d0aed188b400c87b2959ef7339d874b913 (patch) | |
tree | 468ca5a8de1ee772344cc8181814c61254ff744d /base/main.cpp | |
parent | 13a1dc0a58a33cdc974a877ccf6208890e9b4e9f (diff) | |
download | scummvm-rg350-17b1c6d0aed188b400c87b2959ef7339d874b913.tar.gz scummvm-rg350-17b1c6d0aed188b400c87b2959ef7339d874b913.tar.bz2 scummvm-rg350-17b1c6d0aed188b400c87b2959ef7339d874b913.zip |
I am re-commiting the FORCE_RTL as a temporary solution
in trunk, so that trunk/1.0rc is au pair feature-wise
with 0.13.x.
svn-id: r42403
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp index a091c5885a..2d4091c0d5 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -382,11 +382,15 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { } // Quit unless an error occurred, or Return to launcher was requested + #ifndef FORCE_RTL if (result == 0 && !g_system->getEventManager()->shouldRTL()) break; - + #endif // Reset RTL flag in case we want to load another engine g_system->getEventManager()->resetRTL(); + #ifdef FORCE_RTL + g_system->getEventManager()->resetQuit(); + #endif // Discard any command line options. It's unlikely that the user // wanted to apply them to *all* games ever launched. |