mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
wd_fdc: Don't switch off the motor when the fdc doesn't have a motor control pin [O. Galibert, Duke]
This commit is contained in:
parent
f723b4557c
commit
5a38dc64c8
@ -121,7 +121,8 @@ void wd_fdc_t::set_floppy(floppy_image_device *_floppy)
|
||||
int prev_ready = floppy ? floppy->ready_r() : 1;
|
||||
|
||||
if(floppy) {
|
||||
floppy->mon_w(1);
|
||||
if(motor_control)
|
||||
floppy->mon_w(1);
|
||||
floppy->setup_index_pulse_cb(floppy_image_device::index_pulse_cb());
|
||||
floppy->setup_ready_cb(floppy_image_device::ready_cb());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user