Fix media type mismatch

Fix the boot sector media descriptor to match the first FAT entries.
This commit is contained in:
Henry Gabryjelski 2019-03-10 20:02:56 -07:00 committed by GitHub
parent 4ea74d4600
commit e2afc36dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ static FAT_BootBlock const BootBlock = {
.FATCopies = 2,
.RootDirectoryEntries = (ROOT_DIR_SECTORS * 512 / 32),
.TotalSectors16 = NUM_FAT_BLOCKS - 2,
.MediaDescriptor = 0xF8,
.MediaDescriptor = 0xF0,
.SectorsPerFAT = SECTORS_PER_FAT,
.SectorsPerTrack = 1,
.Heads = 1,