From 14c0b3e916d866601311f9bbe53ab64ed560f67f Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Mon, 24 Feb 2014 01:30:16 -0800 Subject: Use a typedef code_ptr in place of uint8_t * in 68K core to better support host instruction sets with different instruction word sizes. Make x86_68k_options contain a cpu_options so that gen_mem_fun can eventually be shared with the Z80 core. --- blastem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blastem.c') diff --git a/blastem.c b/blastem.c index d3b48d2..52de892 100644 --- a/blastem.c +++ b/blastem.c @@ -965,7 +965,7 @@ void init_run_cpu(genesis_context * gen, FILE * address_log, char * statefile, u } init_x86_68k_opts(&opts, memmap, num_chunks); opts.address_log = address_log; - init_68k_context(&context, opts.native_code_map, &opts); + init_68k_context(&context, opts.gen.native_code_map, &opts); context.video_context = gen->vdp; context.system = gen; -- cgit v1.2.3