From 494e9b4c818b1a14bb98daee766ae6af5e5ed95c Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 21 Feb 2018 16:02:06 +0000 Subject: [PATCH] Debugger: fix f10 step over of instructions with a branch delay slot [smf] --- src/emu/debug/debugcpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index add085f1f6c..d5d8ec69200 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -2582,7 +2582,7 @@ void device_debug::prepare_for_step_overout(offs_t pc) // if we need to skip additional instructions, advance as requested while (extraskip-- > 0) { u32 result = buffer.disassemble_info(pc); - pc += buffer.next_pc_wrap(pc, result & util::disasm_interface::LENGTHMASK); + pc = buffer.next_pc_wrap(pc, result & util::disasm_interface::LENGTHMASK); } m_stepaddr = pc; }