mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-26 12:05:36 +01:00
repair add options
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
de181aecfb
commit
c572e50ec6
@ -175,7 +175,7 @@ XString AddLoadOption(IN CONST XString& LoadOptions, IN CONST XString& LoadOptio
|
||||
if ( LoadOptions.ExistIn(LoadOption) ) return LoadOptions; //good
|
||||
// Otherwise add option
|
||||
// return SPrintf("%s %s", LoadOptions.c_str(), LoadOption.c_str()); //LoadOptions + LoadOption
|
||||
return LoadOptions + LoadOption; //why not?
|
||||
return LoadOptions + " "_XS + LoadOption; //why not?
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -982,7 +982,7 @@ STATIC VOID AddDefaultMenu(IN LOADER_ENTRY *Entry)
|
||||
if (SubEntry) {
|
||||
SubEntry->Title.SWPrintf("Run %ls in text mode", FileName);
|
||||
SubEntry->Flags = OSFLAG_UNSET(SubEntry->Flags, OSFLAG_USEGRAPHICS);
|
||||
SubEntry->LoadOptions.SPrintf("-v");
|
||||
SubEntry->LoadOptions.SPrintf(" -v");
|
||||
SubEntry->LoaderType = OSTYPE_OTHER; // Sothor - Why are we using OSTYPE_OTHER here?
|
||||
SubScreen->AddMenuEntry(SubEntry, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user