Revision fb6cf1d0 hw/fdc.c
b/hw/fdc.c | ||
---|---|---|
636 | 636 |
if (!(fdctrl->state & FD_CTRL_RESET)) { |
637 | 637 |
FLOPPY_DPRINTF("controler enter RESET state\n"); |
638 | 638 |
fdctrl->state |= FD_CTRL_RESET; |
639 |
fdctrl_reset(fdctrl, 1); |
|
640 | 639 |
} |
641 | 640 |
} else { |
642 | 641 |
if (fdctrl->state & FD_CTRL_RESET) { |
643 | 642 |
FLOPPY_DPRINTF("controler out of RESET state\n"); |
643 |
fdctrl_reset(fdctrl, 1); |
|
644 | 644 |
fdctrl->state &= ~(FD_CTRL_RESET | FD_CTRL_SLEEP); |
645 | 645 |
} |
646 | 646 |
} |
Also available in: Unified diff