forked from pool/mtools
12 lines
304 B
Diff
12 lines
304 B
Diff
--- fat.c
|
|
+++ fat.c
|
|
@@ -706,7 +706,7 @@
|
|
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)
|