From a39bff34c3bb2259ca73077c7e584f7b6da706ea Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Thu, 2 Jan 2003 21:43:52 +0000 Subject: [PATCH] Set the hidden sector value from boot sector with the correct partition offset. svn path=/trunk/; revision=3924 --- freeldr/freeldr/fs/fat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freeldr/freeldr/fs/fat.c b/freeldr/freeldr/fs/fat.c index a1498c85c02..ec72f2c81ab 100644 --- a/freeldr/freeldr/fs/fat.c +++ b/freeldr/freeldr/fs/fat.c @@ -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 //