mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-26 04:50:24 +00:00
fdc: fix typo in zero constant
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
27c86e24e9
commit
c83f97b563
2
hw/fdc.c
2
hw/fdc.c
@ -1244,7 +1244,7 @@ static void fdctrl_start_transfer(FDCtrl *fdctrl, int direction)
|
|||||||
fdctrl->data_state |= FD_STATE_MULTI;
|
fdctrl->data_state |= FD_STATE_MULTI;
|
||||||
else
|
else
|
||||||
fdctrl->data_state &= ~FD_STATE_MULTI;
|
fdctrl->data_state &= ~FD_STATE_MULTI;
|
||||||
if (fdctrl->fifo[5] == 00) {
|
if (fdctrl->fifo[5] == 0) {
|
||||||
fdctrl->data_len = fdctrl->fifo[8];
|
fdctrl->data_len = fdctrl->fifo[8];
|
||||||
} else {
|
} else {
|
||||||
int tmp;
|
int tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user