projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Added support for NTLDR style freeloader GUI. To enable, edit freeldr.ini and add:
[reactos.git]
/
reactos
/
boot
/
freeldr
/
freeldr
/
reactos
/
reactos.c
diff --git
a/reactos/boot/freeldr/freeldr/reactos/reactos.c
b/reactos/boot/freeldr/freeldr/reactos/reactos.c
index
158d721
..
6e18711
100644
(file)
--- a/
reactos/boot/freeldr/freeldr/reactos/reactos.c
+++ b/
reactos/boot/freeldr/freeldr/reactos/reactos.c
@@
-587,6
+587,10
@@
LoadAndBootReactOS(PCSTR OperatingSystemName)
return;
}
return;
}
+ UiDrawBackdrop();
+ UiDrawStatusText("Detecting Hardware...");
+ UiDrawProgressBarCenter(1, 100, szLoadingMsg);
+
/*
* Setup multiboot information structure
*/
/*
* Setup multiboot information structure
*/
@@
-677,19
+681,15
@@
LoadAndBootReactOS(PCSTR OperatingSystemName)
strcat(reactos_kernel_cmdline, value);
}
strcat(reactos_kernel_cmdline, value);
}
-
- UiDrawBackdrop();
- UiDrawStatusText("Detecting Hardware...");
-
/*
* Detect hardware
*/
MachHwDetect();
/*
* Detect hardware
*/
MachHwDetect();
+ UiDrawProgressBarCenter(5, 100, szLoadingMsg);
if (AcpiPresent) LoaderBlock.Flags |= MB_FLAGS_ACPI_TABLE;
UiDrawStatusText("Loading...");
if (AcpiPresent) LoaderBlock.Flags |= MB_FLAGS_ACPI_TABLE;
UiDrawStatusText("Loading...");
- UiDrawProgressBarCenter(0, 100, szLoadingMsg);
/*
* Try to open system drive
/*
* Try to open system drive