mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
Allow installation to / booting from a disk with several partitions (hack).
svn path=/trunk/; revision=26333
This commit is contained in:
parent
58d132c3c6
commit
1a4bfcb4ce
1 changed files with 2 additions and 1 deletions
|
@ -2129,7 +2129,8 @@ Return Value:
|
|||
|
||||
outputBuffer->PartitionType = diskData->PartitionType;
|
||||
outputBuffer->StartingOffset = deviceExtension->StartingOffset;
|
||||
outputBuffer->PartitionLength = deviceExtension->PartitionLength;
|
||||
outputBuffer->PartitionLength.QuadPart = (diskData->PartitionNumber) ?
|
||||
deviceExtension->PartitionLength.QuadPart : 2305843009213693951LL; // HACK
|
||||
outputBuffer->HiddenSectors = diskData->HiddenSectors;
|
||||
outputBuffer->PartitionNumber = diskData->PartitionNumber;
|
||||
outputBuffer->BootIndicator = diskData->BootIndicator;
|
||||
|
|
Loading…
Reference in a new issue