diff --git a/Machines/AmstradCPC/AmstradCPC.cpp b/Machines/AmstradCPC/AmstradCPC.cpp index afdcbc153..349a4456b 100644 --- a/Machines/AmstradCPC/AmstradCPC.cpp +++ b/Machines/AmstradCPC/AmstradCPC.cpp @@ -1064,13 +1064,13 @@ class ConcreteMachine: default: break; } + + // Check whether the interrupt signal has changed due to CPU intervention. + if(interrupt_timer_.request_has_changed()) z80_.set_interrupt_line(interrupt_timer_.get_request()); } update_subsystems(); - // Check whether the interrupt signal has changed the other way. - if(interrupt_timer_.request_has_changed()) z80_.set_interrupt_line(interrupt_timer_.get_request()); - // This implementation doesn't use time-stuffing; once in-phase waits won't be longer // than a single cycle so there's no real performance benefit to trying to find the // next non-wait when a wait cycle comes in, and there'd be no benefit to reproducing