mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 07:03:33 +02:00
Add an option to restore PPSSPP's settings to default. Does not restore controller bindings to default.
This commit is contained in:
@@ -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