diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-01-14 21:56:54 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-01-14 21:56:54 -0800 |
commit | 1e6dff1fb2dabee0d7f95eaa546358b55b8ac1de (patch) | |
tree | 0beb2ce2da59c77c3df9a2685cf4161ac2e9b04d /m68k_to_x86.h | |
parent | 0d283faed91bf87b7306e06087490151350fabfd (diff) |
Prep work for handling games that modify code in RAM
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r-- | m68k_to_x86.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |