Skip to content

Commit

Permalink
Remove .CIA after updating from .CIA version
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Jun 27, 2019
1 parent 8fb5cfd commit 5132226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/cia.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Result CIA_InstallTitle(const char *path, FS_MediaType media, bool update) {
}

if (update) {
FS_RemoveFile(archive, path);

if (R_FAILED(ret = CIA_LaunchTitle(title.titleID, MEDIATYPE_SD)))
return ret;
}
Expand Down

0 comments on commit 5132226

Please sign in to comment.