Fix TMD CDN CIA building

This commit is contained in:
d0k3 2020-07-24 12:02:13 +02:00
parent 8fcdde29c8
commit 32b6838d32

View File

@ -1819,8 +1819,8 @@ u32 BuildInstallFromTmdFileBuffered(const char* path_tmd, const char* path_dest,
// write the CIA stub (take #2)
if ((FixTmdHashes(tmd) != 0) ||
(install && (WriteCiaStub(cia, path_dest) != 0)) ||
(!install && (InstallCiaSystemData(cia, path_dest) != 0)))
(!install && (WriteCiaStub(cia, path_dest) != 0)) ||
(install && (InstallCiaSystemData(cia, path_dest) != 0)))
return 1;
return 0;