2009-12-04 12:22:17 +01:00
|
|
|
--- fat.c
|
2007-01-16 00:25:55 +01:00
|
|
|
+++ fat.c
|
2009-12-04 12:22:17 +01:00
|
|
|
@@ -704,7 +704,7 @@
|
2007-01-16 00:25:55 +01:00
|
|
|
if(check_media_type(This,boot, tot_sectors))
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
- if(This->num_clus >= FAT12) {
|
|
|
|
+ if(This->num_clus >= FAT12 || config_fat_bits == 16) {
|
|
|
|
set_fat16(This);
|
|
|
|
/* third FAT byte must be 0xff */
|
|
|
|
if(!mtools_skip_check && readByte(This, 3) != 0xff)
|