diff --git a/src/xenia/cpu/backend/x64/x64_emitter.cc b/src/xenia/cpu/backend/x64/x64_emitter.cc index 7fdda2718..247a1fb9c 100644 --- a/src/xenia/cpu/backend/x64/x64_emitter.cc +++ b/src/xenia/cpu/backend/x64/x64_emitter.cc @@ -361,6 +361,7 @@ extern "C" uint64_t ResolveFunction(void* raw_context, } void X64Emitter::Call(const hir::Instr* instr, FunctionInfo* symbol_info) { + assert_not_null(symbol_info); auto fn = reinterpret_cast(symbol_info->function()); // Resolve address to the function to call and store in rax. if (fn) {