diff m68k_to_x86.h @ 192:1db07e112bf7

Prep work for handling games that modify code in RAM
author Mike Pavone <pavone@retrodev.com>
date Mon, 14 Jan 2013 21:56:54 -0800
parents ebcbdd1c4cc8
children c66e4636f991
line wrap: on
line diff
--- a/m68k_to_x86.h	Mon Jan 14 20:23:17 2013 -0800
+++ b/m68k_to_x86.h	Mon Jan 14 21:56:54 2013 -0800
@@ -27,6 +27,7 @@
 	deferred_addr   *deferred;
 	uint8_t         *cur_code;
 	uint8_t         *code_end;
+	uint8_t         **ram_inst_sizes;
 } x86_68k_options;
 
 typedef struct {
@@ -46,6 +47,7 @@
 	
 	native_map_slot *native_code_map;
 	void            *options;
+	uint8_t         ram_code_flags[32/8];
 } m68k_context;
 
 uint8_t * translate_m68k(uint8_t * dst, m68kinst * inst, x86_68k_options * opts);