mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 16:00:44 +02:00
FEXCore: Switch ENTRY_FILL_SRA_SINGLE_INST_REG to TMP2
Will allow this to be taken as the second dispatcher argument
This commit is contained in:
1 parent
fe61aabc52
commit
287344986c
3 files changed
+4
-3
No files matched your search
@@ -716,7 +716,7 @@ bool ResetToConsistentStateImpl(EXCEPTION_RECORD* Exception, CONTEXT* GuestConte
|
||||
Thread->CurrentFrame->State.rip, FaultAddress);
|
||||
NativeContext->Pc = CPUArea.DispatcherLoopTopEnterECFillSRA();
|
||||
NativeContext->Sp = CPUArea.EmulatorStackBase();
|
||||
NativeContext->X10 = 1; // Set ENTRY_FILL_SRA_SINGLE_INST_REG to force a single step
|
||||
NativeContext->X11 = 1; // Set ENTRY_FILL_SRA_SINGLE_INST_REG to force a single step
|
||||
NativeContext->X17 = reinterpret_cast<uint64_t>(CPUArea.Area); // Set EC_ENTRY_CPUAREA_REG
|
||||
} else {
|
||||
LogMan::Msg::DFmt("Handled self-modifying code: pc: {:X} fault: {:X}", NativeContext->Pc, FaultAddress);
|
||||
|
||||
Reference in new issue
Block a user