diff --git a/src/xenia/kernel/kernel_module.cc b/src/xenia/kernel/kernel_module.cc index b8b68e032..98dec1fa1 100644 --- a/src/xenia/kernel/kernel_module.cc +++ b/src/xenia/kernel/kernel_module.cc @@ -105,7 +105,8 @@ uint32_t KernelModule::GetProcAddressByOrdinal(uint16_t ordinal) { handler = (cpu::GuestFunction::ExternHandler)export_entry->function_data.shim; } - static_cast(function)->SetupExtern(handler); + static_cast(function) + ->SetupExtern(handler, export_entry); function->set_status(cpu::Symbol::Status::kDeclared);