mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
exclude doubles
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
aebddff13d
commit
b624e4d1e9
@ -2102,7 +2102,7 @@ printf("%s", "");
|
||||
XBool SetupVirtualMap = false;
|
||||
XBool SignalAppleOS = false;
|
||||
XBool SyncRuntimePermissions = false;
|
||||
uint8_t ResizeAppleGpuBars = 0; // 0 is NOT the default value if not set in config.plist. Default value if not set is returned by dgetResizeAppleGpuBars()
|
||||
int8_t ResizeAppleGpuBars = 0; // 0 is NOT the default value if not set in config.plist. Default value if not set is returned by dgetResizeAppleGpuBars()
|
||||
|
||||
#if __cplusplus > 201703L
|
||||
XBool operator == (const OcBooterQuirksClass&) const = default;
|
||||
@ -2127,7 +2127,7 @@ printf("%s", "");
|
||||
if ( !(SetupVirtualMap == other.SetupVirtualMap) ) return false;
|
||||
if ( !(SignalAppleOS == other.SignalAppleOS) ) return false;
|
||||
if ( !(SyncRuntimePermissions == other.SyncRuntimePermissions) ) return false;
|
||||
if ( !(ResizeAppleGpuBars == other.ResizeAppleGpuBars) ) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
void takeValueFrom(const ConfigPlistClass::Quirks_Class::OcBooterQuirks_Class& other)
|
||||
@ -2150,7 +2150,6 @@ printf("%s", "");
|
||||
SetupVirtualMap = other.dgetSetupVirtualMap();
|
||||
SignalAppleOS = other.dgetSignalAppleOS();
|
||||
SyncRuntimePermissions = other.dgetSyncRuntimePermissions();
|
||||
ResizeAppleGpuBars = other.dgetResizeAppleGpuBars();
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -102,7 +102,6 @@ public:
|
||||
XmlBool SetupVirtualMap = XmlBool();
|
||||
XmlBool SignalAppleOS = XmlBool();
|
||||
XmlBool SyncRuntimePermissions = XmlBool();
|
||||
XmlInt8 ResizeAppleGpuBars = XmlInt8();
|
||||
|
||||
XBool dgetAvoidRuntimeDefrag() const { return parent.isDefined() ? AvoidRuntimeDefrag.isDefined() ? AvoidRuntimeDefrag.value() : XBool(true) : XBool(false); }; // TODO: different default value if section is not defined
|
||||
XBool dgetDevirtualiseMmio() const { return DevirtualiseMmio.isDefined() ? DevirtualiseMmio.value() : DevirtualiseMmio.nullValue; };
|
||||
@ -121,7 +120,7 @@ public:
|
||||
XBool dgetSetupVirtualMap() const { return parent.isDefined() ? SetupVirtualMap.isDefined() ? SetupVirtualMap.value() : XBool(true) : SetupVirtualMap.nullValue; }; // TODO: different default value if section is not defined
|
||||
XBool dgetSignalAppleOS() const { return SignalAppleOS.isDefined() ? SignalAppleOS.value() : SignalAppleOS.nullValue; };
|
||||
XBool dgetSyncRuntimePermissions() const { return parent.isDefined() ? SyncRuntimePermissions.isDefined() ? SyncRuntimePermissions.value() : XBool(true) : XBool(false); }; // TODO: different default value if section is not defined
|
||||
uint8_t dgetResizeAppleGpuBars() const { return parent.isDefined() && ResizeAppleGpuBars.isDefined() ? ResizeAppleGpuBars.value() : -1; };
|
||||
int8_t dgetResizeAppleGpuBars() const { return parent.isDefined() && ResizeAppleGpuBars.isDefined() ? ResizeAppleGpuBars.value() : -1; };
|
||||
|
||||
OcBooterQuirks_Class(const Quirks_Class& _parent) : parent(_parent) {}
|
||||
};
|
||||
@ -153,7 +152,6 @@ public:
|
||||
{"SetupVirtualMap", OcBooterQuirks.SetupVirtualMap},
|
||||
{"SignalAppleOS", OcBooterQuirks.SignalAppleOS},
|
||||
{"SyncRuntimePermissions", OcBooterQuirks.SyncRuntimePermissions},
|
||||
{"ResizeAppleGpuBars", OcBooterQuirks.ResizeAppleGpuBars},
|
||||
{"MmioWhitelist", MmioWhitelist},
|
||||
{"FuzzyMatch", FuzzyMatch},
|
||||
{"KernelCache", KernelCache},
|
||||
|
Loading…
Reference in New Issue
Block a user