mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
upd765: fix an horribly subtle timing bug [O. Galibert]
This commit is contained in:
parent
20bd7825ea
commit
95ce57cf7b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user