mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 09:04:39 +00:00
Set the hidden sector value from boot sector with the correct partition offset.
svn path=/trunk/; revision=3924
This commit is contained in:
parent
8c7e8c4bbc
commit
a39bff34c3
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue