mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
freeldr: seek to correct sector number, even after ~4GB.
See issue #6669 for more details. svn path=/trunk/; revision=56981
This commit is contained in:
parent
268d481877
commit
f8b87477ce
1 changed files with 2 additions and 1 deletions
|
@ -1338,7 +1338,8 @@ BOOLEAN FatReadVolumeSectors(PFAT_VOLUME_INFO Volume, ULONG SectorNumber, ULONG
|
|||
//
|
||||
// Seek to right position
|
||||
//
|
||||
Position.QuadPart = SectorNumber * 512;
|
||||
Position.HighPart = SectorNumber >> 9;
|
||||
Position.LowPart = SectorNumber << 9;
|
||||
ret = ArcSeek(Volume->DeviceId, &Position, SeekAbsolute);
|
||||
if (ret != ESUCCESS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue