HACK FIX DiskGetBootPath() method to return something meaningful when booting from hard disk

svn path=/trunk/; revision=42533
This commit is contained in:
Hervé Poussineau 2009-08-08 19:33:08 +00:00
parent fa657e7e29
commit 1af46d7aa4

View file

@ -361,6 +361,8 @@ DiskGetBootPath(char *BootPath, unsigned Size)
strcat(BootPath, MachDiskBootingFromFloppy() ? "fdisk" : "cdrom");
strcat(strcat(strcat(BootPath, "("), Device), ")");
if (strcmp(BootPath, "multi(0)disk(0)cdrom(128)") == 0)
strcpy(BootPath, "multi(0)disk(0)rdisk(0)partition(1)");
return TRUE;
}