Mercurial > repos > blastem
diff trans.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 | 0f32f52fc98e |
line wrap: on
line diff
--- a/trans.c Sun Mar 02 15:25:52 2014 -0800 +++ b/trans.c Sun Mar 02 16:34:29 2014 -0800 @@ -49,7 +49,7 @@ memmap[1].mask = 0xFFFF; memmap[1].flags = MMAP_READ | MMAP_WRITE | MMAP_CODE; memmap[1].buffer = malloc(64 * 1024); - init_x86_68k_opts(&opts, memmap, 2); + init_m68k_opts(&opts, memmap, 2); init_68k_context(&context, opts.gen.native_code_map, &opts); context.mem_pointers[0] = memmap[0].buffer; context.mem_pointers[1] = memmap[1].buffer;