From c3c2789cdfd299eacb1ed178ebbb32889a2bb2b3 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Tue, 22 Jul 2025 19:03:38 +0100 Subject: [PATCH] Windows: Specify the single-inst argument when calling the dispatcher --- Source/Windows/WOW64/Module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Windows/WOW64/Module.cpp b/Source/Windows/WOW64/Module.cpp index 248458ab0..2c0bb44e4 100644 --- a/Source/Windows/WOW64/Module.cpp +++ b/Source/Windows/WOW64/Module.cpp @@ -361,6 +361,7 @@ bool HandleSuspendInterrupt(CONTEXT* Context, uint64_t FaultAddress) { // Adjust context to return to the dispatcher, reloading SRA from thread state const auto& Config = SignalDelegator->GetConfig(); Context->Pc = Config.AbsoluteLoopTopAddressFillSRA; + Context->X1 = 0; // Set ENTRY_FILL_SRA_SINGLE_INST_REG return true; } } // namespace Context