mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +01:00
skip error msg when inject edid without custom
This commit is contained in:
parent
c7dd0cb8cb
commit
a0c543f100
@ -93,7 +93,8 @@ public:
|
|||||||
if ( Inject.isDefined() ) {
|
if ( Inject.isDefined() ) {
|
||||||
if ( Inject.value() ) {
|
if ( Inject.value() ) {
|
||||||
if ( !Custom.isDefined() ) {
|
if ( !Custom.isDefined() ) {
|
||||||
xmlLiteParser->addWarning(generateErrors, S8Printf("Custom has to be defined if Inject is defined in dict '%s:%d'.", xmlPath.c_str(), keyPos.getLine()));
|
// Each patch of VID/PID/HSPW/VIS can work independently without custom values.
|
||||||
|
// xmlLiteParser->addWarning(generateErrors, S8Printf("Custom has to be defined if Inject is defined in dict '%s:%d'.", xmlPath.c_str(), keyPos.getLine()));
|
||||||
// return false; // Allow this to be compatible with old way of reading settings. Can be put back when definitive switch is made
|
// return false; // Allow this to be compatible with old way of reading settings. Can be put back when definitive switch is made
|
||||||
}else{
|
}else{
|
||||||
if ( Custom.value().size() % 128 != 0 ) {
|
if ( Custom.value().size() % 128 != 0 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user