summaryrefslogtreecommitdiff
path: root/m68k_core.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-01-03 16:08:23 -0800
committerMichael Pavone <pavone@retrodev.com>2015-01-03 16:08:23 -0800
commit8ac1e753e1af481b2090a4c1b7395853f30b5e8f (patch)
treed339264039eb87b68c8630cdb605991ee119f7e7 /m68k_core.h
parent172a8961d9ebb577668dcb150c56b3f2c6da0419 (diff)
All cycle counters are now based off the master clock. This seems to have messed up Z80 interrupt timing (music in Sonic 2 is too slow for instance), but things are generally working
Diffstat (limited to 'm68k_core.h')
-rw-r--r--m68k_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_core.h b/m68k_core.h
index 31ca320..cf43864 100644
--- a/m68k_core.h
+++ b/m68k_core.h
@@ -67,7 +67,7 @@ typedef struct {
void translate_m68k(m68k_options * opts, struct m68kinst * inst);
void translate_m68k_stream(uint32_t address, m68k_context * context);
void start_68k_context(m68k_context * context, uint32_t address);
-void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks);
+void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks, uint32_t clock_divider);
void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts);
void m68k_reset(m68k_context * context);
void insert_breakpoint(m68k_context * context, uint32_t address, uint8_t * bp_handler);