From 015710f3e05de27a607a2dd14ffa662fe8f46f84 Mon Sep 17 00:00:00 2001 From: ekeeke31 Date: Mon, 20 Aug 2007 19:27:55 +0000 Subject: [PATCH] --- source/genesis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/genesis.c b/source/genesis.c index 73a62c3..72d20d1 100644 --- a/source/genesis.c +++ b/source/genesis.c @@ -121,7 +121,7 @@ void gen_busreq_w (int state) /* Z80 stopped */ /* z80 was ON during the last 68k cycles */ /* we execute the appropriate number of z80 cycles */ - z80_cycles_to_run = aim_z80 - cpu_sync[aim_m68k - count_m68k -m68k_cycles_run()]; + z80_cycles_to_run = aim_z80 - cpu_sync[aim_m68k - count_m68k - m68k_cycles_run()]; if (z80_cycles_to_run > 0) z80_run(z80_cycles_to_run); } }