aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-12 22:07:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-05-12 22:07:40 +0000
commitb939777cecc47793fe4fc73dc77645e35c7c56eb (patch)
treee664ad5f6f33f89d7744336e3af8e8375bd2c398 /hw/fdc.c
parentd6b86f4d85d71432bae9f3a0a514954dc1e33af9 (diff)
floppy fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@804 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/fdc.c')
-rw-r--r--hw/fdc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index 97f8805b9a..504e9deee1 100644
--- 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 */