mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
Bump maxrecent default to 60. Don't show CPU name if we don't have one.
See #14707 and #10620
This commit is contained in:
1 parent
aa3daca293
commit
22c180ef6f
2 files changed
+8
-3
No files matched your search
+2
-2
@@ -1300,12 +1300,12 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
LogManager::GetInstance()->LoadConfig(log, debugDefaults);
|
||||
|
||||
Section *recent = iniFile.GetOrCreateSection("Recent");
|
||||
recent->Get("MaxRecent", &iMaxRecent, 30);
|
||||
recent->Get("MaxRecent", &iMaxRecent, 60);
|
||||
|
||||
// Fix issue from switching from uint (hex in .ini) to int (dec)
|
||||
// -1 is okay, though. We'll just ignore recent stuff if it is.
|
||||
if (iMaxRecent == 0)
|
||||
iMaxRecent = 30;
|
||||
iMaxRecent = 60;
|
||||
|
||||
if (iMaxRecent > 0) {
|
||||
recentIsos.clear();
|
||||
|
||||
Reference in new issue
Block a user