mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 20:27:57 +00:00
Respect ini file path on reset settings.
This is the easiest way to force settings to the memstick, but it means erasing the existing ones.
This commit is contained in:
parent
79143b56d2
commit
c0e3f1523e
@ -493,9 +493,8 @@ const std::string Config::FindConfigFile(const std::string &baseFilename) {
|
||||
}
|
||||
|
||||
void Config::RestoreDefaults() {
|
||||
// TODO: This should probably use the correct path?
|
||||
if(File::Exists("ppsspp.ini"))
|
||||
File::Delete("ppsspp.ini");
|
||||
if(File::Exists(iniFilename_))
|
||||
File::Delete(iniFilename_);
|
||||
recentIsos.clear();
|
||||
currentDirectory = "";
|
||||
Load();
|
||||
|
Loading…
x
Reference in New Issue
Block a user