Set the hidden sector value from boot sector with the correct partition offset.

svn path=/trunk/; revision=3924
This commit is contained in:
Hartmut Birr
2003-01-02 21:43:52 +00:00
parent 8c7e8c4bbc
commit a39bff34c3
+5
View File
@@ -151,6 +151,11 @@ BOOL FatOpenVolume(U32 DriveNumber, U32 VolumeStartSector)
#endif // defined DEBUG
//
// Set the correct partition offset
//
FatVolumeBootSector->HiddenSectors = VolumeStartSector;
//
// Check the boot sector magic
//