mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 13:59:25 +00:00
[FREELDR] Seek to correct sector number, even after ~4GB.
See issue #6669 for more details. svn path=/trunk/; revision=56984
This commit is contained in:
parent
d2d680b3ae
commit
408272b62f
1 changed files with 1 additions and 1 deletions
|
@ -1338,7 +1338,7 @@ BOOLEAN FatReadVolumeSectors(PFAT_VOLUME_INFO Volume, ULONG SectorNumber, ULONG
|
||||||
//
|
//
|
||||||
// Seek to right position
|
// Seek to right position
|
||||||
//
|
//
|
||||||
Position.HighPart = SectorNumber >> 9;
|
Position.HighPart = SectorNumber >> 23;
|
||||||
Position.LowPart = SectorNumber << 9;
|
Position.LowPart = SectorNumber << 9;
|
||||||
ret = ArcSeek(Volume->DeviceId, &Position, SeekAbsolute);
|
ret = ArcSeek(Volume->DeviceId, &Position, SeekAbsolute);
|
||||||
if (ret != ESUCCESS)
|
if (ret != ESUCCESS)
|
||||||
|
|
Loading…
Reference in a new issue