summaryrefslogtreecommitdiff
path: root/trans.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-03-02 16:34:29 -0800
committerMichael Pavone <pavone@retrodev.com>2014-03-02 16:34:29 -0800
commit48d6afdd1c9aaafc5b8ce59c584e360d89571a5b (patch)
tree2974a8819a2c80d7fc0ebc2e71b9a8e1370863fe /trans.c
parent8664df5a5d2870c67036666b66ce0d2f9fcdd1eb (diff)
Initial stab at separating the generic parts of the 68K core from the host-cpu specific parts.
Diffstat (limited to 'trans.c')
-rw-r--r--trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans.c b/trans.c
index e897d37..d73ebc5 100644
--- a/trans.c
+++ b/trans.c
@@ -49,7 +49,7 @@ int main(int argc, char ** argv)
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;