diff z80_to_x86.c @ 884:252dfd29831d

Selecting a second game from the menu now works
author Michael Pavone <pavone@retrodev.com>
date Fri, 13 Nov 2015 22:56:59 -0800
parents adeb6465ad53
children a7774fc2de4b
line wrap: on
line diff
--- a/z80_to_x86.c	Fri Nov 13 19:15:37 2015 -0800
+++ b/z80_to_x86.c	Fri Nov 13 22:56:59 2015 -0800
@@ -2596,6 +2596,13 @@
 	}
 }
 
+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);