mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-10-24 10:02:18 +00:00
First, fix when event gets set. Previously, for emulated mode, event was always set even if the irq_line_state is unchanged. Now, the event gets set only when the level transitions. For native mode, event is set only when level transitions from 0 to 1. This remains correct behavior. Second, call signal_cpu_int only if event changed. Previously, it was always called even if irq_lane_state or int_event are unchanged.