From e3cac4551bcd02b5868c3dc7506efd9315dcb320 Mon Sep 17 00:00:00 2001 From: Michael Zapf Date: Thu, 4 Sep 2014 19:11:35 +0000 Subject: [PATCH] floppy: Change in find_position to avoid missing edges that are very close to a window end. (nw) --- src/emu/imagedev/floppy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/imagedev/floppy.c b/src/emu/imagedev/floppy.c index 2b095fb4925..916a445b9f2 100644 --- a/src/emu/imagedev/floppy.c +++ b/src/emu/imagedev/floppy.c @@ -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)