[FREELDR] Add some missing UiDrawBackdrop() calls.

This commit is contained in:
Hermès Bélusca-Maïto 2019-04-22 19:33:20 +02:00
parent 05b052fee2
commit 2e1f594d5e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 3 additions and 2 deletions

View file

@ -131,6 +131,7 @@ RamDiskLoadVirtualFile(IN PCHAR FileName)
//
// Display progress
//
UiDrawBackdrop();
UiDrawProgressBarCenter(1, 100, MsgBuffer);
//

View file

@ -83,13 +83,12 @@ LoadAndBootLinux(IN OperatingSystemItem* OperatingSystem,
PFILE LinuxKernel = 0;
PFILE LinuxInitrdFile = 0;
UiDrawBackdrop();
if (Description)
sprintf(LinuxBootDescription, "Loading %s...", Description);
else
strcpy(LinuxBootDescription, "Loading Linux...");
UiDrawBackdrop();
UiDrawStatusText(LinuxBootDescription);
UiDrawProgressBarCenter(0, 100, LinuxBootDescription);

View file

@ -358,6 +358,7 @@ WinLdrLoadModule(PCSTR ModuleName,
//CHAR ProgressString[256];
/* Inform user we are loading files */
//UiDrawBackdrop();
//sprintf(ProgressString, "Loading %s...", FileName);
//UiDrawProgressBarCenter(1, 100, ProgressString);