mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
Debugger: fix f10 step over of instructions with a branch delay slot [smf]
This commit is contained in:
parent
51a7b81ad3
commit
494e9b4c81
@ -2582,7 +2582,7 @@ void device_debug::prepare_for_step_overout(offs_t pc)
|
|||||||
// if we need to skip additional instructions, advance as requested
|
// if we need to skip additional instructions, advance as requested
|
||||||
while (extraskip-- > 0) {
|
while (extraskip-- > 0) {
|
||||||
u32 result = buffer.disassemble_info(pc);
|
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;
|
m_stepaddr = pc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user