Fix media type mismatch
Fix the boot sector media descriptor to match the first FAT entries.
This commit is contained in:
parent
4ea74d4600
commit
e2afc36dae
@ -106,7 +106,7 @@ static FAT_BootBlock const BootBlock = {
|
|||||||
.FATCopies = 2,
|
.FATCopies = 2,
|
||||||
.RootDirectoryEntries = (ROOT_DIR_SECTORS * 512 / 32),
|
.RootDirectoryEntries = (ROOT_DIR_SECTORS * 512 / 32),
|
||||||
.TotalSectors16 = NUM_FAT_BLOCKS - 2,
|
.TotalSectors16 = NUM_FAT_BLOCKS - 2,
|
||||||
.MediaDescriptor = 0xF8,
|
.MediaDescriptor = 0xF0,
|
||||||
.SectorsPerFAT = SECTORS_PER_FAT,
|
.SectorsPerFAT = SECTORS_PER_FAT,
|
||||||
.SectorsPerTrack = 1,
|
.SectorsPerTrack = 1,
|
||||||
.Heads = 1,
|
.Heads = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user