]> git.proxmox.com Git - mirror_qemu.git/commitdiff
floppy fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 12 May 2004 22:07:40 +0000 (22:07 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 12 May 2004 22:07:40 +0000 (22:07 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@804 c046a42c-6fe2-441c-8c8c-71466251a162

hw/fdc.c

index 97f8805b9a5858974efdea7c77e72224ef7ffe5a..504e9deee1eecef9203b08070af500cb0b37409c 100644 (file)
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -94,10 +94,7 @@ static void fd_init (fdrive_t *drv, BlockDriverState *bs)
 {
     /* Drive */
     drv->bs = bs;
-    if (bs)
-        drv->drive = FDRIVE_DRV_144;
-    else
-        drv->drive = FDRIVE_DRV_NONE;
+    drv->drive = FDRIVE_DRV_NONE;
     drv->drflags = 0;
     drv->perpendicular = 0;
     /* Disk */