diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-19 18:17:16 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-19 18:17:16 +0000 |
commit | 0b7a4a97119eefc2c39c5f34602df9e1cc0f493b (patch) | |
tree | 56e15a2e26385fd00589e755da497e895aea43ab | |
parent | 2df3b95dbba21e68284409e570fbb372bdee8ab8 (diff) |
DOS 6.22 fix (Johannes Schindelin)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1627 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | block-vvfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-vvfat.c b/block-vvfat.c index 7bce91e414..3409f883ab 100644 --- a/block-vvfat.c +++ b/block-vvfat.c @@ -703,7 +703,7 @@ static int init_directory(BDRVVVFATState* s,const char* dirname) memset(&(s->first_sectors[0]),0,0x40*0x200); /* TODO: if FAT32, this is probably wrong */ - s->sectors_per_fat=0xfc; + s->sectors_per_fat=0xec; s->sectors_per_cluster=0x10; s->cluster_size=s->sectors_per_cluster*0x200; s->cluster=malloc(s->cluster_size); |