mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-24 19:55:27 +00:00
Be more intentional with check
This commit is contained in:
parent
261dc33507
commit
2a5b56bb1d
|
@ -539,7 +539,7 @@ Loader::ResultStatus NCCHContainer::ApplyIPS(std::vector<u8>& ips, std::vector<u
|
|||
u32 patch_length = ips.size() - 3;
|
||||
std::string ips_header(ips.begin(), ips.begin() + 5);
|
||||
|
||||
if (strcmp(ips_header.c_str(), "PATCH"))
|
||||
if (strcmp(ips_header.c_str(), "PATCH") != 0)
|
||||
return Loader::ResultStatus::Error;
|
||||
|
||||
while (cursor < patch_length) {
|
||||
|
|
Loading…
Reference in a new issue