From fcd185e06e9e0f49b309cb77d7b3f03373142393 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 30 Apr 2013 20:36:15 -0700 Subject: Add a second context pointer to m68k_context so that try_fifo_write can still have easy access to the VDP. Handle writes to Z80 code addresses from the 68K. --- m68k_to_x86.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm68k_to_x86.h') diff --git a/m68k_to_x86.h b/m68k_to_x86.h index 0539672..503f083 100644 --- a/m68k_to_x86.h +++ b/m68k_to_x86.h @@ -37,12 +37,13 @@ typedef struct { uint32_t int_cycle; uint32_t int_num; uint16_t *mem_pointers[NUM_MEM_AREAS]; - void *next_context; + void *video_context; uint16_t value; native_map_slot *native_code_map; void *options; uint8_t ram_code_flags[32/8]; + void *next_cpu; } m68k_context; uint8_t * translate_m68k(uint8_t * dst, struct m68kinst * inst, x86_68k_options * opts); -- cgit v1.2.3