mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Fix building standard CIA from TMD
This commit is contained in:
parent
cebc43792e
commit
df4619b213
@ -2023,7 +2023,8 @@ u32 BuildInstallFromTmdFileBuffered(const char* path_tmd, const char* path_dest,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// verify TMD / write CIA stub / install system data (take #2)
|
// verify TMD / write CIA stub / install system data (take #2)
|
||||||
if ((VerifyTmd(tmd) != 0) ||
|
if ((force_legit && (VerifyTmd(tmd) != 0)) ||
|
||||||
|
(!force_legit && (FixTmdHashes(tmd) != 0)) ||
|
||||||
(!install && (WriteCiaStub(cia, path_dest) != 0)) ||
|
(!install && (WriteCiaStub(cia, path_dest) != 0)) ||
|
||||||
(install && (InstallCiaSystemData(cia, path_dest) != 0)))
|
(install && (InstallCiaSystemData(cia, path_dest) != 0)))
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user