Add a setting to autosave the symbol map.

And move it into system, needs to be after the coreParameter too.
This commit is contained in:
Unknown W. Brackets committed 2013-03-30 22:28:55 -07:00
1 parent 8155657ea3
commit 8f911a0ebe
8 files changed
+26 -4

No files matched your search

+2
View File
@@ -60,6 +60,7 @@ void Config::Load(const char *iniFileName)
general->Get("Recent", recentIsos);
general->Get("WindowX", &iWindowX, 40);
general->Get("WindowY", &iWindowY, 100);
general->Get("AutoSaveSymbolMap", &bAutoSaveSymbolMap, false);
if (recentIsos.size() > MAX_RECENT)
recentIsos.resize(MAX_RECENT);
@@ -139,6 +140,7 @@ void Config::Save()
general->Set("Recent", recentIsos);
general->Set("WindowX", iWindowX);
general->Set("WindowY", iWindowY);
general->Set("AutoSaveSymbolMap", bAutoSaveSymbolMap);
IniFile::Section *cpu = iniFile.GetOrCreateSection("CPU");
cpu->Set("Jit", bJit);