From 802454482c2843234a19a06f6acce360e0be3d60 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 13 Nov 2015 19:15:37 -0800 Subject: It is now possible to switch back and forth between the menu ROM and the game --- m68k_core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'm68k_core.h') diff --git a/m68k_core.h b/m68k_core.h index 20cd6b1..07a1fb0 100644 --- a/m68k_core.h +++ b/m68k_core.h @@ -58,7 +58,7 @@ typedef struct { uint32_t int_cycle; uint32_t int_num; uint16_t *mem_pointers[NUM_MEM_AREAS]; - void *resume_pc; + code_ptr resume_pc; native_map_slot *native_code_map; m68k_options *options; void *system; @@ -70,6 +70,7 @@ typedef struct { void translate_m68k(m68k_options * opts, struct m68kinst * inst); void translate_m68k_stream(uint32_t address, m68k_context * context); void start_68k_context(m68k_context * context, uint32_t address); +void resume_68k(m68k_context *context); void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider); m68k_context * init_68k_context(m68k_options * opts); void m68k_reset(m68k_context * context); -- cgit v1.2.3