Skip to content

Commit

Permalink
Fix software library clearing (fixes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryuzaki-MrL committed May 13, 2017
1 parent b979586 commit bc1346a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ void clearSoftwareLibrary(bool wait = true) {
if (R_FAILED(res)) promptError("Clear Software Library", "Failed to delete software library data.");
printf("Deleting file \"pld.dat\"... %s %#lx.\n", R_FAILED(res) ? "ERROR" : "OK", res);

FSUSER_ControlArchive(syssave, ARCHIVE_ACTION_COMMIT_SAVE_DATA, NULL, 0, NULL, 0);
FSUSER_CloseArchive(syssave);

if (wait) {
Expand Down

0 comments on commit bc1346a

Please sign in to comment.