summaryrefslogtreecommitdiff
path: root/backend.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 /backend.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 'backend.h')
-rw-r--r--backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend.h b/backend.h
index c3e0c76..7b255f1 100644
--- a/backend.h
+++ b/backend.h
@@ -89,6 +89,7 @@ typedef struct {
uint32_t address_mask;
uint32_t max_address;
uint32_t bus_cycles;
+ uint32_t clock_divider;
int32_t mem_ptr_off;
int32_t ram_flags_off;
uint8_t ram_flags_shift;