Commit 0b7a4a97119eefc2c39c5f34602df9e1cc0f493b

Authored by bellard
1 parent 2df3b95d

DOS 6.22 fix (Johannes Schindelin)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1627 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
block-vvfat.c
... ... @@ -703,7 +703,7 @@ static int init_directory(BDRVVVFATState* s,const char* dirname)
703 703 memset(&(s->first_sectors[0]),0,0x40*0x200);
704 704  
705 705 /* TODO: if FAT32, this is probably wrong */
706   - s->sectors_per_fat=0xfc;
  706 + s->sectors_per_fat=0xec;
707 707 s->sectors_per_cluster=0x10;
708 708 s->cluster_size=s->sectors_per_cluster*0x200;
709 709 s->cluster=malloc(s->cluster_size);
... ...