mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 02:06:42 +00:00
floppy fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@804 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d6b86f4d85
commit
b939777cec
5
hw/fdc.c
5
hw/fdc.c
@ -94,10 +94,7 @@ static void fd_init (fdrive_t *drv, BlockDriverState *bs)
|
|||||||
{
|
{
|
||||||
/* Drive */
|
/* Drive */
|
||||||
drv->bs = bs;
|
drv->bs = bs;
|
||||||
if (bs)
|
drv->drive = FDRIVE_DRV_NONE;
|
||||||
drv->drive = FDRIVE_DRV_144;
|
|
||||||
else
|
|
||||||
drv->drive = FDRIVE_DRV_NONE;
|
|
||||||
drv->drflags = 0;
|
drv->drflags = 0;
|
||||||
drv->perpendicular = 0;
|
drv->perpendicular = 0;
|
||||||
/* Disk */
|
/* Disk */
|
||||||
|
Loading…
Reference in New Issue
Block a user