Commit e309de25a617b683a86d6a42df4977bde22b8b26

Authored by bellard
1 parent 10d315a8

SPECIFY command fix (Jocelyn Mayer)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@792 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/fdc.c
... ... @@ -1499,7 +1499,7 @@ enqueue:
1499 1499 /* SPECIFY */
1500 1500 FLOPPY_DPRINTF("treat SPECIFY command\n");
1501 1501 fdctrl->timer0 = (fdctrl->fifo[1] >> 4) & 0xF;
1502   - fdctrl->timer1 = fdctrl->fifo[1] >> 1;
  1502 + fdctrl->timer1 = fdctrl->fifo[2] >> 1;
1503 1503 fdctrl->dma_en = 1 - (fdctrl->fifo[2] & 1) ;
1504 1504 /* No result back */
1505 1505 fdctrl_reset_fifo(fdctrl);
... ...