floppy: Fix index pulse generation when motor is always on [O. Galibert]

This commit is contained in:
Olivier Galibert 2012-11-20 20:55:42 +00:00
parent 3268fd50cb
commit cb5b9802b0
2 changed files with 1 additions and 2 deletions

View File

@ -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();

View File

@ -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();