mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Fix game image installs to SD
Yes, I broke this (again)
This commit is contained in:
parent
ce498103e1
commit
3aa9a1633a
@ -1413,6 +1413,7 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
|
||||
// build the cmd
|
||||
cmd = BuildAllocCmdData(tmd);
|
||||
if (!cmd) return 1;
|
||||
if (!syscmd) cmd->unknown = 0xFFFFFFFE; // mark this as custom built
|
||||
|
||||
// generate all the paths
|
||||
snprintf(path_titledb, 32, "%2.2s/dbs/title.db",
|
||||
@ -1497,10 +1498,7 @@ u32 InstallCiaSystemData(CiaStub* cia, const char* drv) {
|
||||
InitImgFS(path_bak);
|
||||
|
||||
// fix CMACs where required
|
||||
if (!syscmd) {
|
||||
cmd->unknown = 0xFFFFFFFE; // mark this as custom built
|
||||
FixFileCmac(path_cmd, true);
|
||||
}
|
||||
if (!syscmd) FixFileCmac(path_cmd, true);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user