Fixed freeldr fat16 boot sector to use the bios provided boot device number instead of the ( usually invalid ) one in the boot sector header.

svn path=/trunk/; revision=14567
This commit is contained in:
Phillip Susi 2005-04-10 05:00:27 +00:00
parent 56f3c4ed58
commit d36e7a745d

View file

@ -89,9 +89,6 @@ main:
mov es,ax ; Make ES correct
cmp BYTE [BYTE bp+BootDrive],BYTE 0xff ; If they have specified a boot drive then use it
jne GetDriveParameters
mov [BYTE bp+BootDrive],dl ; Save the boot drive