Mercurial > repos > blastem
comparison blastem.c @ 570:76bba9ffe351
Initial stab at separating the generic parts of the 68K core from the host-cpu specific parts.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 02 Mar 2014 16:34:29 -0800 |
parents | 9b7fcf748be0 |
children | ea80559c67cb |
comparison
equal
deleted
inserted
replaced
569:9b7fcf748be0 | 570:76bba9ffe351 |
---|---|
961 printf("Loaded SRAM from %s\n", sram_filename); | 961 printf("Loaded SRAM from %s\n", sram_filename); |
962 } | 962 } |
963 } | 963 } |
964 atexit(save_sram); | 964 atexit(save_sram); |
965 } | 965 } |
966 init_x86_68k_opts(&opts, memmap, num_chunks); | 966 init_m68k_opts(&opts, memmap, num_chunks); |
967 opts.address_log = address_log; | 967 opts.address_log = address_log; |
968 init_68k_context(&context, opts.gen.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; |