diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-12-28 20:39:27 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-12-28 20:39:27 -0800 |
commit | 67b7c359a5a73f01eeba37af2d5fbae1027b4a7a (patch) | |
tree | f2542e2c1a6fc6ae59792e22cbc265e4267d78b6 /m68k_core.h | |
parent | 96d5581219aec6c49fadaaf1d30623c0f2eed358 (diff) |
Remove memory map assumptions from Z80 core and move a little bit of logic to the generic backend.c so it can be shared between CPU cores
Diffstat (limited to 'm68k_core.h')
-rw-r--r-- | m68k_core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/m68k_core.h b/m68k_core.h index 4d3634e..1b1199e 100644 --- a/m68k_core.h +++ b/m68k_core.h @@ -63,7 +63,6 @@ typedef struct m68k_context { uint16_t *mem_pointers[NUM_MEM_AREAS]; code_ptr resume_pc; code_ptr reset_handler; - native_map_slot *native_code_map; m68k_options *options; void *system; uint8_t int_pending; @@ -84,7 +83,7 @@ void m68k_options_free(m68k_options *opts); void insert_breakpoint(m68k_context * context, uint32_t address, m68k_debug_handler bp_handler); void remove_breakpoint(m68k_context * context, uint32_t address); m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context); -uint32_t get_instruction_start(m68k_options *opts, native_map_slot * native_code_map, uint32_t address); +uint32_t get_instruction_start(m68k_options *opts, uint32_t address); uint16_t m68k_get_ir(m68k_context *context); void m68k_print_regs(m68k_context * context); |