Make the model option ini-only.

Move PSP_MODEL_FAT and PSP_MODEL_SLIM to Config.h.
Default to a PSP Slim, and enable 64 megs of memory by default.
This commit is contained in:
The Dax
2013-11-28 14:37:10 -05:00
parent 5d310e6014
commit 85e3a2dbfb
7 changed files with 12 additions and 9 deletions
+1 -2
View File
@@ -294,8 +294,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
}
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
// 0 = PSP Fat, 1 = PSP Slim
pspConfig->Get("PSPModel", &iPSPModel, 0);
pspConfig->Get("PSPModel", &iPSPModel, PSP_MODEL_SLIM);
pspConfig->Get("NickName", &sNickName, "PPSSPP");
pspConfig->Get("proAdhocServer", &proAdhocServer, "localhost");
pspConfig->Get("MacAddress", &localMacAddress, "01:02:03:04:05:06");