mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
It never ends...
This commit is contained in:
1 parent
a40b1dec5f
commit
2e16e83159
43 files changed
+292
-277
No files matched your search
+3
-2
@@ -1536,7 +1536,7 @@ void Config::RemoveRecent(const std::string &file) {
|
||||
void Config::CleanRecent() {
|
||||
std::vector<std::string> cleanedRecent;
|
||||
for (size_t i = 0; i < recentIsos.size(); i++) {
|
||||
FileLoader *loader = ConstructFileLoader(recentIsos[i]);
|
||||
FileLoader *loader = ConstructFileLoader(Path(recentIsos[i]));
|
||||
if (loader->ExistsFast()) {
|
||||
// Make sure we don't have any redundant items.
|
||||
auto duplicate = std::find(cleanedRecent.begin(), cleanedRecent.end(), recentIsos[i]);
|
||||
@@ -1577,7 +1577,8 @@ const Path Config::FindConfigFile(const std::string &baseFilename) {
|
||||
|
||||
const Path filename = defaultPath_ / baseFilename;
|
||||
if (!File::Exists(filename)) {
|
||||
Path path = filename.Directory();
|
||||
// Make sure at least the directory it's supposed to be in exists.
|
||||
Path path = filename.NavigateUp();
|
||||
if (createdPath_ != path) {
|
||||
File::CreateFullPath(path);
|
||||
createdPath_ = path;
|
||||
|
||||
Reference in new issue
Block a user