Add game direct load support for new UI

This commit is contained in:
raven02 2013-08-04 15:49:51 +08:00
parent 5a384a51ce
commit e0d68e4768
4 changed files with 14 additions and 7 deletions

View file

@ -54,6 +54,7 @@ void Config::Load(const char *iniFileName)
general->Get("AutoLoadLast", &bAutoLoadLast, false);
general->Get("AutoRun", &bAutoRun, true);
general->Get("Browse", &bBrowse, false);
general->Get("DirectLoad", &bDirectLoad, false);
general->Get("ConfirmOnQuit", &bConfirmOnQuit, false);
general->Get("IgnoreBadMemAccess", &bIgnoreBadMemAccess, true);
general->Get("CurrentDirectory", &currentDirectory, "");
@ -201,6 +202,7 @@ void Config::Save()
general->Set("AutoLoadLast", bAutoLoadLast);
general->Set("AutoRun", bAutoRun);
general->Set("Browse", bBrowse);
general->Set("DirectLoad", bDirectLoad);
general->Set("ConfirmOnQuit", bConfirmOnQuit);
general->Set("IgnoreBadMemAccess", bIgnoreBadMemAccess);
general->Set("CurrentDirectory", currentDirectory);