mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-29 11:20:40 +00:00
iMaxRecent should be an int, not a u32 (the latter writes as hex to .ini)
This commit is contained in:
parent
d9ed61c04a
commit
b3084ab685
@ -64,6 +64,9 @@ void Config::Load(const char *iniFileName)
|
||||
general->Get("Language", &languageIni, "en_US");
|
||||
general->Get("NumWorkerThreads", &iNumWorkerThreads, cpu_info.num_cores);
|
||||
general->Get("MaxRecent", &iMaxRecent, 12);
|
||||
// Fix issue from switching from uint (hex in .ini) to int (dec)
|
||||
if (iMaxRecent == 0)
|
||||
iMaxRecent = 12;
|
||||
|
||||
// "default" means let emulator decide, "" means disable.
|
||||
general->Get("ReportHost", &sReportHost, "default");
|
||||
|
@ -79,7 +79,7 @@ public:
|
||||
int iTexScalingType; // 0 = xBRZ, 1 = Hybrid
|
||||
bool bTexDeposterize;
|
||||
int iFpsLimit;
|
||||
u32 iMaxRecent;
|
||||
int iMaxRecent;
|
||||
|
||||
// Sound
|
||||
bool bEnableSound;
|
||||
|
Loading…
Reference in New Issue
Block a user