From 95ce57cf7b6493b677f2a590b6eed27f374bfc34 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Mon, 19 Nov 2012 07:44:46 +0000 Subject: [PATCH] upd765: fix an horribly subtle timing bug [O. Galibert] --- src/mess/machine/upd765.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mess/machine/upd765.c b/src/mess/machine/upd765.c index 12fda1d7759..d2942db40bd 100644 --- a/src/mess/machine/upd765.c +++ b/src/mess/machine/upd765.c @@ -2158,11 +2158,11 @@ int upd765_family_device::pll_t::get_next_bit(attotime &tm, floppy_image_device return -1; ctime = next; + tm = next; if(edge.is_never() || edge >= next) { // No transition in the window means 0 and pll in free run mode phase_adjust = attotime::zero; - tm = next; return 0; }