summaryrefslogtreecommitdiff
path: root/m68k_internal.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-22 23:49:32 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-22 23:49:32 -0700
commit057e8fb32092e1c1c642791cf915c2522b5662e0 (patch)
treeac0fbfb841c64651d6da61af2b8cc2221a503f1c /m68k_internal.h
parenteb8ad570f140b57480ba8ce28819d7cd68d6548e (diff)
Don't attempt to translate or map code at odd addresses. This fixes a bug that shows up when playing College Footbal USA 96
Diffstat (limited to 'm68k_internal.h')
-rw-r--r--m68k_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_internal.h b/m68k_internal.h
index 755fd99..13b7c15 100644
--- a/m68k_internal.h
+++ b/m68k_internal.h
@@ -46,7 +46,7 @@ void m68k_save_result(m68kinst * inst, m68k_options * opts);
void push_const(m68k_options *opts, int32_t value);
void jump_m68k_abs(m68k_options * opts, uint32_t address);
void swap_ssp_usp(m68k_options * opts);
-code_ptr get_native_address(native_map_slot * native_code_map, uint32_t address);
+code_ptr get_native_address(m68k_options *opts, uint32_t address);
void map_native_address(m68k_context * context, uint32_t address, code_ptr native_addr, uint8_t size, uint8_t native_size);
uint8_t get_native_inst_size(m68k_options * opts, uint32_t address);
uint8_t m68k_is_terminal(m68kinst * inst);