diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-04 02:04:17 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-04 02:04:17 +0000 |
commit | fb6cf1d09cccd6bc288d5f1569132d91ff953dfc (patch) | |
tree | deeebdb5951af762180dd9165fcca08059ecd4b7 /hw/fdc.c | |
parent | 66201e2ddff787d7ddff123baa56661a95be7c4b (diff) |
fixed floppy reset (aka win98 floppy probe fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@783 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/fdc.c')
-rw-r--r-- | hw/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -636,11 +636,11 @@ static void fdctrl_write_dor (fdctrl_t *fdctrl, uint32_t value) if (!(fdctrl->state & FD_CTRL_RESET)) { FLOPPY_DPRINTF("controler enter RESET state\n"); fdctrl->state |= FD_CTRL_RESET; - fdctrl_reset(fdctrl, 1); } } else { if (fdctrl->state & FD_CTRL_RESET) { FLOPPY_DPRINTF("controler out of RESET state\n"); + fdctrl_reset(fdctrl, 1); fdctrl->state &= ~(FD_CTRL_RESET | FD_CTRL_SLEEP); } } |