diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-04-30 20:36:15 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-04-30 20:36:15 -0700 |
commit | fcd185e06e9e0f49b309cb77d7b3f03373142393 (patch) | |
tree | 71c6ed86d894376e2603e0a332082d6902d91b6a /m68k_to_x86.h | |
parent | 716eb2e2a73a7b129168d0d642a82e8f694bd659 (diff) |
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.
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r-- | m68k_to_x86.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |