We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f81c191 commit 9daef29Copy full SHA for 9daef29
boot/freeldr/freeldr/bootmgr.c
@@ -363,12 +363,6 @@ VOID RunLoader(VOID)
363
ULONG SelectedOperatingSystem;
364
ULONG i;
365
366
- if (!MachInitializeBootDevices())
367
- {
368
- UiMessageBoxCritical("Error when detecting hardware.");
369
- return;
370
- }
371
-
372
#ifdef _M_IX86
373
#ifndef UEFIBOOT
374
/* Load additional SCSI driver (if any) */
boot/freeldr/freeldr/freeldr.c
@@ -71,6 +71,12 @@ VOID __cdecl BootMain(IN PCCH CmdLine)
71
goto Quit;
72
}
73
74
+ if (!MachInitializeBootDevices())
75
+ {
76
+ UiMessageBoxCritical("Error when detecting hardware.");
77
+ goto Quit;
78
+ }
79
+
80
RunLoader();
81
82
Quit:
0 commit comments