diff backend.h @ 667:30ccf56842d6

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
author Michael Pavone <pavone@retrodev.com>
date Sat, 03 Jan 2015 16:08:23 -0800
parents a18e3923481e
children 5439ae7946ca
line wrap: on
line diff
--- a/backend.h	Fri Jan 02 13:47:34 2015 -0800
+++ b/backend.h	Sat Jan 03 16:08:23 2015 -0800
@@ -89,6 +89,7 @@
 	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;