mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Change how defaults work in the inifile reader (more flexible this way)
This commit is contained in:
1 parent
c98b7591d3
commit
14ddad5ce3
14 files changed
+266
-181
No files matched your search
@@ -89,7 +89,7 @@ void RecentFilesManager::Load(const Section *recent, int maxRecent) {
|
||||
std::string fileName;
|
||||
|
||||
snprintf(keyName, sizeof(keyName), "FileName%d", i);
|
||||
if (recent->Get(keyName, &fileName, "") && !fileName.empty()) {
|
||||
if (recent->Get(keyName, &fileName) && !fileName.empty()) {
|
||||
newRecent.push_back(fileName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user