StepOut breakpoint fix

Fixes #1164
SetSkipFirst wasn't called
This commit is contained in:
BoopFtang 2016-02-12 20:47:12 +13:00 committed by NZJenkins
parent 8ae7f60b04
commit fd4997ab94
1 changed files with 2 additions and 0 deletions

View File

@ -458,6 +458,8 @@ void DisassemblyDialog::stepOut()
{
if (!r5900Debug.isAlive() || !r5900Debug.isCpuPaused() || currentCpu == NULL)
return;
// If the current PC is on a breakpoint, the user doesn't want to do nothing.
CBreakPoints::SetSkipFirst(r5900Debug.getPC());
u32 addr = currentCpu->getStepOutAddress();
if (addr == (u32)-1)