diff options
author | 2012-11-20 20:55:42 +0000 | |
---|---|---|
committer | 2012-11-20 20:55:42 +0000 | |
commit | cb5b9802b0c85c9cd6306a262be484e0cba610ca (patch) | |
tree | bfa0e84b4ffc54aa3246f69459c15219f14a8d14 /src | |
parent | 3268fd50cb5f8be7d735439e8d5764aa3632623b (diff) |
floppy: Fix index pulse generation when motor is always on [O. Galibert]
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/imagedev/floppy.c | 2 | ||||
-rw-r--r-- | src/mess/machine/upd765.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/imagedev/floppy.c b/src/emu/imagedev/floppy.c index c1c9131cfc8..1996e5265b0 100644 --- a/src/emu/imagedev/floppy.c +++ b/src/emu/imagedev/floppy.c @@ -252,7 +252,7 @@ bool floppy_image_device::call_load() image = global_alloc(floppy_image(tracks, sides, form_factor)); best_format->load(&io, form_factor, image); - revolution_start_time = attotime::never; + revolution_start_time = motor_always_on ? machine().time() : attotime::never; revolution_count = 0; index_resync(); diff --git a/src/mess/machine/upd765.c b/src/mess/machine/upd765.c index f599673c8bd..4e371fb6278 100644 --- a/src/mess/machine/upd765.c +++ b/src/mess/machine/upd765.c @@ -1978,7 +1978,6 @@ void upd765_family_device::index_callback(floppy_image_device *floppy, int state floppy_info &fi = flopi[fid]; if(fi.dev != floppy) continue; - fprintf(stderr, "floppy %d index %d sub_state %d\n", fid, state, fi.sub_state); if(fi.live) live_sync(); |