diff options
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c index c373d1b..a114da3 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -2596,6 +2596,13 @@ void z80_run(z80_context * context, uint32_t target_cycle) } } +void z80_options_free(z80_options *opts) +{ + free(opts->gen.native_code_map); + free(opts->gen.ram_inst_sizes); + free(opts); +} + void z80_assert_reset(z80_context * context, uint32_t cycle) { z80_run(context, cycle); |