Skip to content

Commit

Permalink
Merge branch 'xenia-canary:canary_experimental' into Custom
Browse files Browse the repository at this point in the history
  • Loading branch information
backgamon authored Aug 28, 2024
2 parents 856b723 + c430a17 commit c664187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xenia/kernel/xboxkrnl/xboxkrnl_modules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ dword_result_t xeXexLoadImage(
bool isFromMemory) {
X_STATUS result = X_STATUS_NO_SUCH_FILE;

if (!hmodule_ptr) {
return X_ERROR_INVALID_PARAMETER;
}

uint32_t hmodule = 0;
auto module = kernel_state()->GetModule(module_name.value());
if (module) {
Expand Down

0 comments on commit c664187

Please sign in to comment.