Fix stepping with JIT

This commit is contained in:
svc64 2023-10-07 15:11:17 +03:00
parent edbd4bfc29
commit 144aa2f5b1
1 changed files with 5 additions and 7 deletions

View File

@ -176,14 +176,12 @@ namespace ARMeilleure.Instructions
Statistics.PauseTimer();
ExecutionContext context = GetContext();
// If debugging, we'll handle interrupts outside
if (Optimizations.EnableDebugging && context.Interrupted)
{
return false;
}
context.CheckInterrupt();
// If debugging, we'll handle interrupts outside
if (!Optimizations.EnableDebugging)
{
context.CheckInterrupt();
}
Statistics.ResumeTimer();