Commit fb6cf1d09cccd6bc288d5f1569132d91ff953dfc
1 parent
66201e2d
fixed floppy reset (aka win98 floppy probe fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@783 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/fdc.c
| ... | ... | @@ -636,11 +636,11 @@ static void fdctrl_write_dor (fdctrl_t *fdctrl, uint32_t value) |
| 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 | } | ... | ... |