From 8ac1e753e1af481b2090a4c1b7395853f30b5e8f Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 3 Jan 2015 16:08:23 -0800 Subject: 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 --- backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'backend.h') 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; -- cgit v1.2.3