[ui] disable BIOS boot when MBR for UEFI is selected in dual UEFI/BIOS mode

* Closes #708
This commit is contained in:
Pete Batard 2016-03-07 16:15:18 +00:00
parent 5afffd1018
commit 1cc7fca4c5
2 changed files with 6 additions and 6 deletions

View file

@ -908,7 +908,7 @@ static BOOL WriteMBR(HANDLE hPhysicalDrive)
// What follows is really a case statement with complex conditions listed
// by order of preference
if (allow_dual_uefi_bios)
if ((allow_dual_uefi_bios) && (tt == TT_BIOS))
goto windows_mbr;
// Forced UEFI (by zeroing the MBR)