mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
When deleting important files like savedata or games, move to trash.
This currently only works on Windows, where it changes the Delete button to "Move to trash".
This commit is contained in:
1 parent
69b2f7d9b6
commit
7712cf5331
49 files changed
+72
-20
No files matched your search
+1
-1
@@ -1688,7 +1688,7 @@ bool Config::deleteGameConfig(const std::string& pGameId) {
|
||||
Path fullIniFilePath = Path(getGameConfigFile(pGameId, &exists));
|
||||
|
||||
if (exists) {
|
||||
File::Delete(fullIniFilePath);
|
||||
File::MoveFileToTrashOrDelete(fullIniFilePath);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user