Fix stepping with JIT

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

View file

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