diff options
author | Max Horn | 2003-07-28 01:36:16 +0000 |
---|---|---|
committer | Max Horn | 2003-07-28 01:36:16 +0000 |
commit | d592095fb942e961773e8177056d973eb1cff092 (patch) | |
tree | a5b0889b20ec589d56fc17c2c6edd3ad01150743 /common | |
parent | e87bc6d89e260afd6e116c7eace991876cfa4acf (diff) | |
download | scummvm-rg350-d592095fb942e961773e8177056d973eb1cff092.tar.gz scummvm-rg350-d592095fb942e961773e8177056d973eb1cff092.tar.bz2 scummvm-rg350-d592095fb942e961773e8177056d973eb1cff092.zip |
Patch #715991: Quit Confirmation Dialog (feature request #642721) with some tweaks by me
svn-id: r9210
Diffstat (limited to 'common')
-rw-r--r-- | common/gameDetector.cpp | 3 | ||||
-rw-r--r-- | common/gameDetector.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index feef3aa2dc..7e04296129 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -192,6 +192,7 @@ GameDetector::GameDetector() { _save_slot = 0; _saveconfig = false; + _confirmExit = false; #ifndef _WIN32_WCE _gfx_mode = GFX_DOUBLESIZE; @@ -301,6 +302,8 @@ void GameDetector::updateconfig() { _talkSpeed = g_config->getInt("talkspeed", _talkSpeed); + _confirmExit = g_config->getBool("confirm_exit", _confirmExit ? true : false); + _multi_midi = g_config->getBool ("multi_midi", _multi_midi); _native_mt32 = g_config->getBool ("native_mt32", _native_mt32); } diff --git a/common/gameDetector.h b/common/gameDetector.h index d65072b6cb..226ffe3ea0 100644 --- a/common/gameDetector.h +++ b/common/gameDetector.h @@ -148,6 +148,7 @@ public: int _save_slot; bool _saveconfig; + bool _confirmExit; public: OSystem *createSystem(); |