mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 21:34:17 +00:00
- Fix FatValidSectorsPerCluster, otherwise it ended up always being true for any sectors amount.
svn path=/trunk/; revision=39031
This commit is contained in:
parent
06abfd926c
commit
7f06a44898
|
@ -132,7 +132,7 @@ typedef struct BIOS_PARAMETER_BLOCK
|
||||||
(!((xBytes) & ((xBytes)-1)) && (xBytes)>=0x80 && (xBytes)<=0x1000)
|
(!((xBytes) & ((xBytes)-1)) && (xBytes)>=0x80 && (xBytes)<=0x1000)
|
||||||
|
|
||||||
#define FatValidSectorsPerCluster(xSectors) \
|
#define FatValidSectorsPerCluster(xSectors) \
|
||||||
(!((xSectors) & ((xSectors)-1)) && (xSectors)>=0 && (xSectors)<=0x80)
|
(!((xSectors) & ((xSectors)-1)) && (xSectors)>0 && (xSectors)<=0x80)
|
||||||
|
|
||||||
typedef struct _PACKED_BOOT_SECTOR
|
typedef struct _PACKED_BOOT_SECTOR
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue