mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
correct more CustomEntries mistakes
This commit is contained in:
parent
fbc970b44d
commit
15a2b3ec53
@ -1779,7 +1779,6 @@ STATIC VOID AddCustomEntry(IN UINTN CustomIndex,
|
||||
}
|
||||
|
||||
// Change to custom image if needed
|
||||
|
||||
Image = Custom->Image;
|
||||
if (Image.isEmpty() && Custom->ImagePath) {
|
||||
Image.LoadXImage(ThemeX.ThemeDir, Custom->ImagePath);
|
||||
@ -1787,9 +1786,8 @@ STATIC VOID AddCustomEntry(IN UINTN CustomIndex,
|
||||
|
||||
// Change to custom drive image if needed
|
||||
DriveImage = Custom->DriveImage;
|
||||
|
||||
if (DriveImage.isEmpty() && Custom->DriveImagePath) {
|
||||
Image.LoadXImage(ThemeX.ThemeDir, Custom->DriveImagePath);
|
||||
DriveImage.LoadXImage(ThemeX.ThemeDir, Custom->DriveImagePath);
|
||||
}
|
||||
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user