summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2014-02-24 01:30:16 -0800
committerMike Pavone <pavone@retrodev.com>2014-02-24 01:30:16 -0800
commit14c0b3e916d866601311f9bbe53ab64ed560f67f (patch)
tree015e3c591d1c092c20bbc940f0e1b5d10be4a9c6 /blastem.c
parentfcf5fcfccb16b87e69b3ce9dd8dc74dbbaf426db (diff)
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.
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blastem.c b/blastem.c
index d3b48d2..52de892 100644
--- a/blastem.c
+++ b/blastem.c
@@ -965,7 +965,7 @@ void init_run_cpu(genesis_context * gen, FILE * address_log, char * statefile, u
}
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;