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:
parent
602c1d1dac
commit
b4f088fb00
|
@ -165,10 +165,6 @@ X_STATUS UserModule::LoadFromFile(const std::string_view path) {
|
||||||
} else {
|
} else {
|
||||||
XELOGE("Failed to load XEX patch, code: {}", result);
|
XELOGE("Failed to load XEX patch, code: {}", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result) {
|
|
||||||
return X_STATUS_UNSUCCESSFUL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return LoadXexContinue();
|
return LoadXexContinue();
|
||||||
|
|
Loading…
Reference in New Issue