diff --git a/Source/Windows/ARM64EC/Module.cpp b/Source/Windows/ARM64EC/Module.cpp index 8df18573c..a112a28a6 100644 --- a/Source/Windows/ARM64EC/Module.cpp +++ b/Source/Windows/ARM64EC/Module.cpp @@ -677,7 +677,7 @@ bool ResetToConsistentStateImpl(const ThreadCPUArea CPUArea, EXCEPTION_RECORD* E // A suspend interrupt can occur in ExitFunctionEC before InSimulation is unset and set SuspendDoorbell. If this // occurs then it is still our duty to cooperatively suspend with an appropriate context. To support this, after // unsetting InSimulation a brk #0xCAFE instruction will be raised that we can handle here. - NativeContext->Pc = reinterpret_cast(ExitFunctionSuspendResumePoint); // Jump to the suspend resume point. + NativeContext->Pc = reinterpret_cast(&ExitFunctionSuspendResumePoint); // Jump to the suspend resume point. *CPUArea.Area->SuspendDoorbell = 0; return true; }