From 1e6dff1fb2dabee0d7f95eaa546358b55b8ac1de Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Mon, 14 Jan 2013 21:56:54 -0800 Subject: Prep work for handling games that modify code in RAM --- m68k_to_x86.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'm68k_to_x86.h') diff --git a/m68k_to_x86.h b/m68k_to_x86.h index e558ee5..80fe211 100644 --- a/m68k_to_x86.h +++ b/m68k_to_x86.h @@ -27,6 +27,7 @@ typedef struct { 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 @@ typedef struct { 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); -- cgit v1.2.3