forked from Mirror/GodMode9
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)
|
||||
fvx_unlink(path_data);
|
||||
|
||||
// rmeove save (additional step required for system titles)
|
||||
CreateSaveData(drv, tid64, NULL, 0, true);
|
||||
// remove save (additional step required for system titles)
|
||||
if (remove_save && ((*drv == '1') || (*drv == '4')))
|
||||
CreateSaveData(drv, tid64, NULL, 0, true);
|
||||
|
||||
// remove titledb entry / ticket
|
||||
u32 ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user