From 67b7c359a5a73f01eeba37af2d5fbae1027b4a7a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 28 Dec 2016 20:39:27 -0800 Subject: 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 --- m68k_core.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'm68k_core.h') 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); -- cgit v1.2.3