Correct loading of os_unknown and os_clover

This commit is contained in:
asava 2020-04-25 23:14:53 +03:00
parent db50b1e4b2
commit 469750c6e6
3 changed files with 4 additions and 3 deletions

View File

@ -644,7 +644,7 @@ STATIC LOADER_ENTRY *CreateLoaderEntry(IN CONST CHAR16 *LoaderPath,
}
ShortcutLetter = 'L';
break;
case OSTYPE_OTHER:
//case OSTYPE_OTHER:
case OSTYPE_EFI:
OSIconName = L"clover";
ShortcutLetter = 'E';

View File

@ -78,8 +78,8 @@ CONST CHAR8* IconsNames[] = {
"checkbox_checked",
"scrollbar_background", //24 - present here for SVG theme but should be done more common way
"scrollbar_holder",
//example
"os_unknown", //51 == ICON_OTHER_OS
"os_unknown", //51 == ICON_OTHER_OS
"os_clover", //52 == ICON_CLOVER
//other oses will be added below
""
};

View File

@ -460,6 +460,7 @@ VOID DebugPause(VOID);
#define BUILTIN_CHECKBOX (47)
#define BUILTIN_CHECKBOX_CHECKED (48)
#define ICON_OTHER_OS (51)
#define ICON_CLOVER (52)
#define BUILTIN_ICON_BACKGROUND (100)
#define BUILTIN_ICON_SELECTION (101)
#define BUILTIN_ICON_ANIME (102)