Improved output for game install last step

This commit is contained in:
d0k3 2020-07-24 10:41:43 +02:00
parent e568348086
commit 77f1f94e13

View File

@ -1401,7 +1401,7 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
drv, tid_high, tid_low); drv, tid_high, tid_low);
// progress update // progress update
if (!ShowProgress(1, 5, "TMD/CMD/TiE/Ticket/Save")) return 1; if (!ShowProgress(1, 5, "TMD/CMD")) return 1;
// copy tmd & cmd // copy tmd & cmd
fvx_rmkpath(path_tmd); fvx_rmkpath(path_tmd);
@ -1415,7 +1415,7 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
free(cmd); // we don't need this anymore free(cmd); // we don't need this anymore
// progress update // progress update
if (!ShowProgress(2, 5, "TMD/CMD/TiE/Ticket/Save")) return 1; if (!ShowProgress(2, 5, "Savegame")) return 1;
// generate savedata // generate savedata
if (exthdr && (exthdr->savedata_size)) { if (exthdr && (exthdr->savedata_size)) {
@ -1454,7 +1454,7 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
} }
// progress update // progress update
if (!ShowProgress(3, 5, "TMD/CMD/TiE/Ticket/Save")) return 1; if (!ShowProgress(3, 5, "TitleDB update")) return 1;
// write ticket and title databases // write ticket and title databases
// ensure remounting the old mount path // ensure remounting the old mount path
@ -1463,19 +1463,19 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
strncpy(path_store, GetMountPath(), 256); strncpy(path_store, GetMountPath(), 256);
if (*path_store) path_bak = path_store; if (*path_store) path_bak = path_store;
// ticket database // title database
if (!InitImgFS(path_ticketdb) || if (!InitImgFS(path_titledb) ||
((AddTicketToDB("D:/partitionA.bin", title_id, (Ticket*) ticket, true)) != 0)) { ((AddTitleInfoEntryToDB("D:/partitionA.bin", title_id, &tie, true)) != 0)) {
InitImgFS(path_bak); InitImgFS(path_bak);
return 1; return 1;
} }
// progress update // progress update
if (!ShowProgress(4, 5, "TMD/CMD/TiE/Ticket/Save")) return 1; if (!ShowProgress(4, 5, "TicketDB update")) return 1;
// title database // ticket database
if (!InitImgFS(path_titledb) || if (!InitImgFS(path_ticketdb) ||
((AddTitleInfoEntryToDB("D:/partitionA.bin", title_id, &tie, true)) != 0)) { ((AddTicketToDB("D:/partitionA.bin", title_id, (Ticket*) ticket, true)) != 0)) {
InitImgFS(path_bak); InitImgFS(path_bak);
return 1; return 1;
} }