Merge pull request #4198 from aldelaro5/memory-breakpoint-fix
Fix the memChecks breaking a second time after hitting one and unpausing
This commit is contained in:
commit
65c1df34f4
|
@ -90,10 +90,12 @@ void Run()
|
|||
{
|
||||
if (PowerPC::breakpoints.IsAddressBreakPoint(PC) || PowerPC::memchecks.HasAny())
|
||||
{
|
||||
s_state = CPU_STEPPING;
|
||||
PowerPC::CoreMode old_mode = PowerPC::GetMode();
|
||||
PowerPC::SetMode(PowerPC::MODE_INTERPRETER);
|
||||
PowerPC::SingleStep();
|
||||
PowerPC::SetMode(old_mode);
|
||||
s_state = CPU_RUNNING;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue