Skip to content

Commit

Permalink
EmulatorPkg PlatformBm: Fix duplicate BootManagerMenuApp boot option …
Browse files Browse the repository at this point in the history
…issue

Signed-off-by: Yang Gang <[email protected]>
  • Loading branch information
YangGangUEFI authored and mergify[bot] committed Jan 24, 2025
1 parent 0df3729 commit e356b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EmulatorPkg/Library/PlatformBmLib/PlatformBm.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,9 @@ PlatformBootManagerAfterConsole (
case BOOT_WITH_DEFAULT_SETTINGS:
default:
PlatformBdsDiagnostics (IGNORE, TRUE);
PlatformBdsRegisterStaticBootOptions ();
PlatformBdsConnectSequence ();
EfiBootManagerRefreshAllBootOption ();
PlatformBdsRegisterStaticBootOptions ();
EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, (SORT_COMPARE)CompareBootOption);
break;
}
Expand Down

0 comments on commit e356b0f

Please sign in to comment.