From d0e35a8f8959cadaf62aa634a08c9b06af2bdbef Mon Sep 17 00:00:00 2001 From: emoose Date: Sun, 5 Jan 2020 21:00:01 +0000 Subject: [PATCH] [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... --- src/xenia/kernel/user_module.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xenia/kernel/user_module.cc b/src/xenia/kernel/user_module.cc index 1851250ad..3b25113c5 100644 --- a/src/xenia/kernel/user_module.cc +++ b/src/xenia/kernel/user_module.cc @@ -165,10 +165,6 @@ X_STATUS UserModule::LoadFromFile(std::string path) { } else { XELOGE("Failed to load XEX patch, code: %d", result); } - - if (result) { - return X_STATUS_UNSUCCESSFUL; - } } return LoadXexContinue();