[SMSS] Use the new IsNEC_98 macro defined for user-mode.

This commit is contained in:
Hermès Bélusca-Maïto 2020-11-26 00:25:05 +01:00
parent 9feab8e95a
commit a0721ebdd3
No known key found for this signature in database
GPG Key ID: 3B2539C65E7B93D0

View File

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