diff m68k_core.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 9f149f0e98b7
children a7774fc2de4b
line wrap: on
line diff
--- a/m68k_core.c	Fri Nov 13 19:15:37 2015 -0800
+++ b/m68k_core.c	Fri Nov 13 22:56:59 2015 -0800
@@ -1005,6 +1005,13 @@
 	start_68k_context(context, address);
 }
 
+void m68k_options_free(m68k_options *opts)
+{
+	free(opts->gen.native_code_map);
+	free(opts->gen.ram_inst_sizes);
+	free(opts);
+}
+
 
 m68k_context * init_68k_context(m68k_options * opts)
 {