changeset 401:f54af24aad1d

Fix DI
author Mike Pavone <pavone@retrodev.com>
date Sat, 15 Jun 2013 23:10:48 -0700
parents a09aa6d067fd
children de2c085ce174
files z80_to_x86.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/z80_to_x86.c	Sat Jun 15 23:10:37 2013 -0700
+++ b/z80_to_x86.c	Sat Jun 15 23:10:48 2013 -0700
@@ -897,6 +897,7 @@
 		dst = mov_irdisp8(dst, 0, CONTEXT, offsetof(z80_context, iff1), SZ_B);
 		dst = mov_irdisp8(dst, 0, CONTEXT, offsetof(z80_context, iff2), SZ_B);
 		dst = mov_rdisp8r(dst, CONTEXT, offsetof(z80_context, sync_cycle), ZLIMIT, SZ_D);
+		dst = mov_irdisp8(dst, 0xFFFFFFFF, CONTEXT, offsetof(z80_context, int_cycle), SZ_D);
 		break;
 	case Z80_EI:
 		dst = zcycles(dst, 4);