summaryrefslogtreecommitdiff
path: root/z80_to_x86.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-02 23:35:40 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-02 23:35:40 -0800
commitdd774975c0ba188b8d18d97e931a625f4e491f21 (patch)
treedd1659664b032f23b3db3944b49e4872f2afcf92 /z80_to_x86.h
parenta065d119b863b8ec9f3591f5a637bca7ccafc0ce (diff)
Invalidate translated code on a cartridge bank change in SMS mode. Fix handling of bank 0
Diffstat (limited to 'z80_to_x86.h')
-rw-r--r--z80_to_x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h
index 4dcfdc3..e26777c 100644
--- a/z80_to_x86.h
+++ b/z80_to_x86.h
@@ -94,6 +94,7 @@ z80_context * init_z80_context(z80_options * options);
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);