Fix setting the CIA console ID

This commit is contained in:
d0k3 2020-07-24 12:14:59 +02:00
parent 32b6838d32
commit e559c2b4a1

View File

@ -1636,7 +1636,7 @@ u32 InstallFromCiaFile(const char* path_cia, const char* path_dest) {
}
// proactive fix for CIA console ID
cia->ticket.console_id = 0;
memset(cia->ticket.console_id, 0x00, 4);
// fix TMD hashes, install CIA system data
if ((FixTmdHashes(&(cia->tmd)) != 0) ||