[SMSS] Fix x64 build. Addendum to a0721eb

This part is specific for x86 architecture.
This commit is contained in:
Stanislav Motylkov 2020-11-26 03:50:16 +03:00
parent a0721ebdd3
commit 131bc73555
No known key found for this signature in database
GPG key ID: AFE513258CBA9E92

View file

@ -851,8 +851,12 @@ SmpCreateVolumeDescriptors(VOID)
wcscpy(Buffer, L"\\??\\A:\\");
RtlInitUnicodeString(&VolumePath, Buffer);
#if defined(_M_IX86)
/* Start with the C drive, except on NEC PC-98 */
StartChar = IsNEC_98 ? L'A' : L'C';
#else
StartChar = L'C';
#endif
for (Drive = StartChar, DriveDiff = StartChar - L'A'; Drive <= L'Z'; Drive++, DriveDiff++)
{
/* Skip the disk if it's not in the drive map */