Mercurial > repos > blastem
diff z80_to_x86.h @ 1142:5c8b1c33ca10
Invalidate translated code on a cartridge bank change in SMS mode. Fix handling of bank 0
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 02 Jan 2017 23:35:40 -0800 |
parents | 8f14767661fa |
children | 70d88d9bfe13 |
line wrap: on
line diff
--- a/z80_to_x86.h Mon Jan 02 22:54:24 2017 -0800 +++ b/z80_to_x86.h Mon Jan 02 23:35:40 2017 -0800 @@ -94,6 +94,7 @@ code_ptr z80_get_native_address(z80_context * context, uint32_t address); code_ptr z80_get_native_address_trans(z80_context * context, uint32_t address); z80_context * z80_handle_code_write(uint32_t address, z80_context * context); +void z80_invalidate_code_range(z80_context *context, uint32_t start, uint32_t end); void z80_reset(z80_context * context); void zinsert_breakpoint(z80_context * context, uint16_t address, uint8_t * bp_handler); void zremove_breakpoint(z80_context * context, uint16_t address);