diff --git a/Core/Config.cpp b/Core/Config.cpp index 995231f6d..0cc73bcbc 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -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"); diff --git a/Core/Config.h b/Core/Config.h index 2643f2547..090f058a9 100644 --- a/Core/Config.h +++ b/Core/Config.h @@ -79,7 +79,7 @@ public: int iTexScalingType; // 0 = xBRZ, 1 = Hybrid bool bTexDeposterize; int iFpsLimit; - u32 iMaxRecent; + int iMaxRecent; // Sound bool bEnableSound;