Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
557:acec5464fa1e | 558:dc9f178085a0 |
---|---|
963 } | 963 } |
964 atexit(save_sram); | 964 atexit(save_sram); |
965 } | 965 } |
966 init_x86_68k_opts(&opts, memmap, num_chunks); | 966 init_x86_68k_opts(&opts, memmap, num_chunks); |
967 opts.address_log = address_log; | 967 opts.address_log = address_log; |
968 init_68k_context(&context, opts.native_code_map, &opts); | 968 init_68k_context(&context, opts.gen.native_code_map, &opts); |
969 | 969 |
970 context.video_context = gen->vdp; | 970 context.video_context = gen->vdp; |
971 context.system = gen; | 971 context.system = gen; |
972 //cartridge ROM | 972 //cartridge ROM |
973 context.mem_pointers[0] = cart; | 973 context.mem_pointers[0] = cart; |