mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +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
1 changed files with 2 additions and 0 deletions
|
@ -361,6 +361,8 @@ DiskGetBootPath(char *BootPath, unsigned Size)
|
||||||
strcat(BootPath, MachDiskBootingFromFloppy() ? "fdisk" : "cdrom");
|
strcat(BootPath, MachDiskBootingFromFloppy() ? "fdisk" : "cdrom");
|
||||||
strcat(strcat(strcat(BootPath, "("), Device), ")");
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue