Fix stepping with JIT
This commit is contained in:
parent
edbd4bfc29
commit
144aa2f5b1
1 changed files with 5 additions and 7 deletions
|
@ -176,14 +176,12 @@ namespace ARMeilleure.Instructions
|
||||||
Statistics.PauseTimer();
|
Statistics.PauseTimer();
|
||||||
|
|
||||||
ExecutionContext context = GetContext();
|
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();
|
Statistics.ResumeTimer();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue