mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
Correct a case where removing -v via options was not fully respected, when it was present by default
This commit is contained in:
parent
28ca396699
commit
a4d5cbf163
@ -621,10 +621,12 @@ STATIC LOADER_ENTRY *CreateLoaderEntry(IN CONST XStringW& LoaderPath,
|
|||||||
case OSTYPE_OSX_INSTALLER:
|
case OSTYPE_OSX_INSTALLER:
|
||||||
OSIconName = GetOSIconName(Entry->OSVersion);// Sothor - Get OSIcon name using OSVersion
|
OSIconName = GetOSIconName(Entry->OSVersion);// Sothor - Get OSIcon name using OSVersion
|
||||||
// apianti - force custom logo even when verbose
|
// apianti - force custom logo even when verbose
|
||||||
|
/* this is not needed, as this flag is also being unset when booting if -v is present (LoadOptions may change until then)
|
||||||
if ( Entry->LoadOptions.containsIC("-v") ) {
|
if ( Entry->LoadOptions.containsIC("-v") ) {
|
||||||
// OSX is not booting verbose, so we can set console to graphics mode
|
// OSX is not booting verbose, so we can set console to graphics mode
|
||||||
Entry->Flags = OSFLAG_UNSET(Entry->Flags, OSFLAG_USEGRAPHICS);
|
Entry->Flags = OSFLAG_UNSET(Entry->Flags, OSFLAG_USEGRAPHICS);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (OSType == OSTYPE_OSX && IsOsxHibernated(Entry)) {
|
if (OSType == OSTYPE_OSX && IsOsxHibernated(Entry)) {
|
||||||
Entry->Flags = OSFLAG_SET(Entry->Flags, OSFLAG_HIBERNATED);
|
Entry->Flags = OSFLAG_SET(Entry->Flags, OSFLAG_HIBERNATED);
|
||||||
DBG(" =>set entry as hibernated\n");
|
DBG(" =>set entry as hibernated\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user