From 4fc2cd522e1487ba69cdfc2c40c54f2c0ca51797 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 27 Jul 2016 22:46:22 -0700 Subject: Change cycle tracking code for Z80 core to only use a single register. Store low 7 bits of R in a reg and increment it appropriately. --- z80_to_x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'z80_to_x86.h') diff --git a/z80_to_x86.h b/z80_to_x86.h index 551319b..753a64e 100644 --- a/z80_to_x86.h +++ b/z80_to_x86.h @@ -74,7 +74,7 @@ typedef struct { void * system; uint8_t ram_code_flags[(8 * 1024)/128/8]; uint32_t int_enable_cycle; - uint16_t pc; + uint16_t pc; uint32_t int_pulse_start; uint32_t int_pulse_end; uint8_t breakpoint_flags[(16 * 1024)/sizeof(uint8_t)]; -- cgit v1.2.3