mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fix saves being deleted on uninstall
This commit is contained in:
parent
608cf39e12
commit
e95e0fe90c
@ -1437,8 +1437,9 @@ u32 UninstallGameData(u64 tid64, bool remove_tie, bool remove_ticket, bool remov
|
|||||||
if (GetInstallPath(path_data, drv, tid64, NULL, NULL) != 0)
|
if (GetInstallPath(path_data, drv, tid64, NULL, NULL) != 0)
|
||||||
fvx_unlink(path_data);
|
fvx_unlink(path_data);
|
||||||
|
|
||||||
// rmeove save (additional step required for system titles)
|
// remove save (additional step required for system titles)
|
||||||
CreateSaveData(drv, tid64, NULL, 0, true);
|
if (remove_save && ((*drv == '1') || (*drv == '4')))
|
||||||
|
CreateSaveData(drv, tid64, NULL, 0, true);
|
||||||
|
|
||||||
// remove titledb entry / ticket
|
// remove titledb entry / ticket
|
||||||
u32 ret = 0;
|
u32 ret = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user