diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-01-03 16:08:23 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-01-03 16:08:23 -0800 |
commit | 8ac1e753e1af481b2090a4c1b7395853f30b5e8f (patch) | |
tree | d339264039eb87b68c8630cdb605991ee119f7e7 /z80_to_x86.h | |
parent | 172a8961d9ebb577668dcb150c56b3f2c6da0419 (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 'z80_to_x86.h')
-rw-r--r-- | z80_to_x86.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h index d3e7b89..792d7b5 100644 --- a/z80_to_x86.h +++ b/z80_to_x86.h @@ -1,6 +1,6 @@ /* Copyright 2013 Michael Pavone - This file is part of BlastEm. + This file is part of BlastEm. BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. */ #ifndef Z80_TO_X86_H_ @@ -82,7 +82,7 @@ typedef struct { } z80_context; void translate_z80_stream(z80_context * context, uint32_t address); -void init_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks); +void init_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks, uint32_t clock_divider); void init_z80_context(z80_context * context, z80_options * options); code_ptr z80_get_native_address(z80_context * context, uint32_t address); code_ptr z80_get_native_address_trans(z80_context * context, uint32_t address); |