Mercurial > repos > blastem
diff m68k_internal.h @ 726:7367b14ac01c
Don't attempt to translate or map code at odd addresses. This fixes a bug that shows up when playing College Footbal USA 96
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 22 May 2015 23:49:32 -0700 |
parents | 8c546bc1d773 |
children | f2cd380adebe |
line wrap: on
line diff
--- a/m68k_internal.h Fri May 22 21:11:41 2015 -0700 +++ b/m68k_internal.h Fri May 22 23:49:32 2015 -0700 @@ -46,7 +46,7 @@ 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);