[Kernel] Allow XEX to continue load after ApplyPatch fails

This should be safe to do hopefully, most errors happen before any part of the XEX is modified, and the errors that can happen after modification should be very rare/impossible thanks to the earlier checks.
It might be good to write up some way to revert any changes though...
This commit is contained in:
emoose 2020-01-05 21:00:01 +00:00 committed by illusion98
parent f6f32298e3
commit 06f7617c57
1 changed files with 0 additions and 4 deletions

View File

@ -165,10 +165,6 @@ X_STATUS UserModule::LoadFromFile(std::string path) {
} else { } else {
XELOGE("Failed to load XEX patch, code: %d", result); XELOGE("Failed to load XEX patch, code: %d", result);
} }
if (result) {
return X_STATUS_UNSUCCESSFUL;
}
} }
return LoadXexContinue(); return LoadXexContinue();