Add an option to restore PPSSPP's settings to default. Does not restore controller bindings to default.

This commit is contained in:
The Dax
2013-08-28 16:25:58 -04:00
parent 236fb5f7ef
commit d113254774
4 changed files with 27 additions and 0 deletions
+8
View File
@@ -372,3 +372,11 @@ void Config::CleanRecent() {
}
recentIsos = cleanedRecent;
}
void Config::RestoreDefaults() {
if(File::Exists("ppsspp.ini"))
File::Delete("ppsspp.ini");
recentIsos.clear();
currentDirectory = "";
Load();
}