i8085: Stop in debugger after an interrupt is taken, not immediately before

This commit is contained in:
AJR 2020-05-08 07:21:47 -04:00
parent 2dfb819208
commit 74c98add83

View File

@ -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());