summaryrefslogtreecommitdiff
path: root/z80_to_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-13 22:56:59 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-13 22:56:59 -0800
commit62fdcbc92ba3c4a71742293d75d853c95eb5f3c7 (patch)
treedce685f5cf74848f6d6a85f93689cf8dec50e89b /z80_to_x86.c
parent802454482c2843234a19a06f6acce360e0be3d60 (diff)
Selecting a second game from the menu now works
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r--z80_to_x86.c7
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);