[SMSS] Revert commit 131bc73

This is now fixed properly by de16ef3.
This commit is contained in:
Stanislav Motylkov 2020-11-26 11:46:05 +03:00
parent 34a634bbf6
commit 5cb9f8765b
No known key found for this signature in database
GPG key ID: AFE513258CBA9E92

View file

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