Add config save/load for imdebugger, move the imgui.ini to PSP/SYSTEM

This commit is contained in:
Henrik Rydgård committed 2024-11-27 09:15:03 +01:00
1 parent c685373444
commit 1df3b9b905
7 files changed
+106 -25

No files matched your search

+4 -5
View File
@@ -1677,11 +1677,10 @@ const Path Config::FindConfigFile(const std::string &baseFilename) {
}
// Make sure at least the directory it's supposed to be in exists.
Path path = filename.NavigateUp();
// This check is just to avoid logging.
if (!File::Exists(path)) {
File::CreateFullPath(path);
}
Path parent = filename.NavigateUp();
// We try to create the path and ignore if it fails (already exists).
File::CreateFullPath(parent);
return filename;
}