Loader/ips: fix compile error

This commit is contained in:
Michael Scire 2018-07-28 20:41:13 -07:00
parent 75916001a2
commit 08275240c6

View file

@ -157,7 +157,7 @@ void PatchUtils::ApplyPatches(u64 title_id, const NsoUtils::NsoHeader *header, u
if (memcmp(header, IPS_MAGIC, 5) == 0) { if (memcmp(header, IPS_MAGIC, 5) == 0) {
ApplyIpsPatch(mapped_nso, mapped_size, false, f_ips); ApplyIpsPatch(mapped_nso, mapped_size, false, f_ips);
} else if (memcmp(header, IPS32_MAGIC, 5) == 0) { } else if (memcmp(header, IPS32_MAGIC, 5) == 0) {
ApplyIps32Patch(mapped_nso, mapped_size, true, f_ips); ApplyIpsPatch(mapped_nso, mapped_size, true, f_ips);
} }
} }
fclose(f_ips); fclose(f_ips);