summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-11-19 07:44:46 +0000
committer Olivier Galibert <galibert@pobox.com>2012-11-19 07:44:46 +0000
commit95ce57cf7b6493b677f2a590b6eed27f374bfc34 (patch)
tree12a432085637413092accf56dd7572fd26e78d95
parent20bd7825eae5b5799304228d65f63a4c10b0761d (diff)
upd765: fix an horribly subtle timing bug [O. Galibert]
-rw-r--r--src/mess/machine/upd765.c2
1 files changed, 1 insertions, 1 deletions
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;
}