mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Add an option to restore PPSSPP's settings to default. Does not restore controller bindings to default.
This commit is contained in:
1 parent
236fb5f7ef
commit
d113254774
4 files changed
+27
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user