diff m68k_core.h @ 883:9f149f0e98b7

It is now possible to switch back and forth between the menu ROM and the game
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Nov 2015 19:15:37 -0800
parents b6842dfb8edf
children 252dfd29831d
line wrap: on
line diff
--- a/m68k_core.h	Mon Nov 09 22:34:36 2015 -0800
+++ b/m68k_core.h	Fri Nov 13 19:15:37 2015 -0800
@@ -58,7 +58,7 @@
 	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 @@
 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);