mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
HACK FIX DiskGetBootPath() method to return something meaningful when booting from hard disk
svn path=/trunk/; revision=42533
This commit is contained in:
parent
fa657e7e29
commit
1af46d7aa4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue