Initial support for disabling logging, to provide a possible boost in performance for games that spam the log like crazy.

This commit is contained in:
The Dax
2013-07-27 19:39:49 -04:00
parent 8602c276ca
commit 528d81151a
6 changed files with 25 additions and 6 deletions
+2 -1
View File
@@ -50,6 +50,7 @@ void Config::Load(const char *iniFileName)
bSpeedLimit = false;
general->Get("FirstRun", &bFirstRun, true);
general->Get("NewUI", &bNewUI, false);
general->Get("EnableLogging", &bEnableLogging, true);
general->Get("AutoLoadLast", &bAutoLoadLast, false);
general->Get("AutoRun", &bAutoRun, true);
general->Get("Browse", &bBrowse, false);
@@ -192,7 +193,7 @@ void Config::Save()
bFirstRun = false;
general->Set("FirstRun", bFirstRun);
general->Set("NewUI", bNewUI);
general->Set("EnableLogging", bEnableLogging);
general->Set("AutoLoadLast", bAutoLoadLast);
general->Set("AutoRun", bAutoRun);
general->Set("Browse", bBrowse);