- Fix FatValidSectorsPerCluster, otherwise it ended up always being true for any sectors amount.

svn path=/trunk/; revision=39031
This commit is contained in:
Aleksey Bragin 2009-01-23 10:07:15 +00:00
parent 06abfd926c
commit 7f06a44898

View file

@ -132,7 +132,7 @@ typedef struct BIOS_PARAMETER_BLOCK
(!((xBytes) & ((xBytes)-1)) && (xBytes)>=0x80 && (xBytes)<=0x1000)
#define FatValidSectorsPerCluster(xSectors) \
(!((xSectors) & ((xSectors)-1)) && (xSectors)>=0 && (xSectors)<=0x80)
(!((xSectors) & ((xSectors)-1)) && (xSectors)>0 && (xSectors)<=0x80)
typedef struct _PACKED_BOOT_SECTOR
{