Skip to content

Commit 75167c9

Browse files
committed
Fix notifications of reti and retn in the interrupt mode 0.
1 parent bb24684 commit 75167c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/Z80.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@ Z80_API zusize z80_run(Z80 *self, zusize cycles)
27372737
self->ld_i_a = (Z80Notify)im0_ld_i_a;
27382738
self->ld_r_a = (Z80Notify)im0_ld_r_a;
27392739

2740-
# ifdef Z80_WITH_RETX_NOTIFICATIONS_IN_IM0
2740+
# ifdef Z80_WITH_IM0_RETX_NOTIFICATIONS
27412741
self->reti = (Z80Notify)im0_reti;
27422742
self->retn = (Z80Notify)im0_retn;
27432743
# else

0 commit comments

Comments
 (0)