mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
floppy: Change in find_position to avoid missing edges that are very
close to a window end. (nw)
This commit is contained in:
parent
016990765f
commit
e3cac4551b
@ -614,7 +614,7 @@ UINT32 floppy_image_device::find_position(attotime &base, const attotime &when)
|
||||
base -= rev_time;
|
||||
}
|
||||
|
||||
return (delta*floppy_ratio_1 + attotime::from_nsec(500)).as_ticks(1000000000/1000);
|
||||
return (delta*floppy_ratio_1).as_ticks(1000000000/1000);
|
||||
}
|
||||
|
||||
attotime floppy_image_device::get_next_transition(const attotime &from_when)
|
||||
|
Loading…
Reference in New Issue
Block a user