diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-01-14 09:38:54 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-01-14 09:38:54 -0800 |
commit | f439d8688758710b74d4909e77ebce6444b8a448 (patch) | |
tree | 6d000eba25209ae902c5360402b15118c79559ad /m68k_core.h | |
parent | d42234e4af41481a3db6f6ea5173bb1623b30d22 (diff) |
Removed hardcoded assumptions in M68K core about which parts of the memory map are RAM
Diffstat (limited to 'm68k_core.h')
-rw-r--r-- | m68k_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m68k_core.h b/m68k_core.h index cf43864..2635a09 100644 --- a/m68k_core.h +++ b/m68k_core.h @@ -60,15 +60,15 @@ typedef struct { native_map_slot *native_code_map; m68k_options *options; - uint8_t ram_code_flags[32/8]; void *system; + uint8_t ram_code_flags[]; } m68k_context; 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 init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider); -void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts); +m68k_context * init_68k_context(m68k_options * opts); void m68k_reset(m68k_context * context); void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler); void remove_breakpoint(m68k_context * context, uint32_t address); |