mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
i8085: Stop in debugger after an interrupt is taken, not immediately before
This commit is contained in:
parent
2dfb819208
commit
74c98add83
@ -855,13 +855,13 @@ void i8085a_cpu_device::execute_run()
|
||||
|
||||
do
|
||||
{
|
||||
debugger_instruction_hook(m_PC.d);
|
||||
|
||||
/* the instruction after an EI does not take an interrupt, so
|
||||
we cannot check immediately; handle post-EI behavior here */
|
||||
if (m_after_ei != 0 && --m_after_ei == 0)
|
||||
check_for_interrupts();
|
||||
|
||||
debugger_instruction_hook(m_PC.d);
|
||||
|
||||
/* here we go... */
|
||||
execute_one(read_op());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user