Commit b939777cecc47793fe4fc73dc77645e35c7c56eb

Authored by bellard
1 parent d6b86f4d

floppy fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@804 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 4 deletions
hw/fdc.c
@@ -94,10 +94,7 @@ static void fd_init (fdrive_t *drv, BlockDriverState *bs) @@ -94,10 +94,7 @@ static void fd_init (fdrive_t *drv, BlockDriverState *bs)
94 { 94 {
95 /* Drive */ 95 /* Drive */
96 drv->bs = bs; 96 drv->bs = bs;
97 - if (bs)  
98 - drv->drive = FDRIVE_DRV_144;  
99 - else  
100 - drv->drive = FDRIVE_DRV_NONE; 97 + drv->drive = FDRIVE_DRV_NONE;
101 drv->drflags = 0; 98 drv->drflags = 0;
102 drv->perpendicular = 0; 99 drv->perpendicular = 0;
103 /* Disk */ 100 /* Disk */