Mercurial > repos > blastem
diff blastem.c @ 558:dc9f178085a0
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.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Feb 2014 01:30:16 -0800 |
parents | a3afee2271ce |
children | 6b248602ab84 9324f721efa6 |
line wrap: on
line diff
--- a/blastem.c Mon Feb 24 00:50:15 2014 -0800 +++ b/blastem.c Mon Feb 24 01:30:16 2014 -0800 @@ -965,7 +965,7 @@ } 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;