timer adjustments based on Nem's new info
[picodrive.git] / Pico / PicoInt.h
index 4994ffc..c9aa1aa 100644 (file)
@@ -476,8 +476,8 @@ PICO_INTERNAL void cdda_start_play();
 extern short cdda_out_buffer[2*1152];\r
 extern int PsndLen_exc_cnt;\r
 extern int PsndLen_exc_add;\r
-extern int timer_a_next_oflow, timer_a_step, timer_a_offset; // in z80 cycles\r
-extern int timer_b_next_oflow, timer_b_step, timer_b_offset;\r
+extern int timer_a_next_oflow, timer_a_step; // in z80 cycles\r
+extern int timer_b_next_oflow, timer_b_step;\r
 \r
 void ym2612_sync_timers(int z80_cycles, int mode_old, int mode_new);\r
 void ym2612_pack_state(void);\r
@@ -498,8 +498,8 @@ void ym2612_unpack_state(void);
 \r
 #define timers_reset() \\r
   timer_a_next_oflow = timer_b_next_oflow = TIMER_NO_OFLOW; \\r
-  timer_a_step = timer_a_offset = TIMER_A_TICK_ZCYCLES * 1024; \\r
-  timer_b_step = timer_b_offset = TIMER_B_TICK_ZCYCLES * 256;\r
+  timer_a_step = TIMER_A_TICK_ZCYCLES * 1024; \\r
+  timer_b_step = TIMER_B_TICK_ZCYCLES * 256;\r
 \r
 \r
 // VideoPort.c\r