Fix stepping with JIT

This commit is contained in:
svc64 2023-10-07 15:11:17 +03:00
parent edbd4bfc29
commit 144aa2f5b1

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();