Mercurial > repos > blastem
diff m68k_to_x86.h @ 263:2989ed7b8608
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.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Apr 2013 20:36:15 -0700 |
parents | 63b9a500a00b |
children | a8ee7934a1f8 |
line wrap: on
line diff
--- a/m68k_to_x86.h Tue Apr 30 20:33:30 2013 -0700 +++ b/m68k_to_x86.h Tue Apr 30 20:36:15 2013 -0700 @@ -37,12 +37,13 @@ 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);