mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 23:45:39 +00:00
Correct Linux Compile Error.
This commit is contained in:
parent
d2d4a6cbcf
commit
7f44f22451
|
@ -109,4 +109,12 @@ void LogSettings() {
|
||||||
LogSetting("Services_BCATBoxcatLocal", Settings::values.bcat_boxcat_local);
|
LogSetting("Services_BCATBoxcatLocal", Settings::values.bcat_boxcat_local);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool IsGPULevelExtreme() {
|
||||||
|
return values.gpu_accuracy == GPUAccuracy::Extreme;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IsGPULevelHigh() {
|
||||||
|
return values.gpu_accuracy == GPUAccuracy::Extreme || values.gpu_accuracy == GPUAccuracy::High;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Settings
|
} // namespace Settings
|
||||||
|
|
|
@ -486,13 +486,8 @@ struct Values {
|
||||||
std::map<u64, std::vector<std::string>> disabled_addons;
|
std::map<u64, std::vector<std::string>> disabled_addons;
|
||||||
} extern values;
|
} extern values;
|
||||||
|
|
||||||
constexpr bool IsGPULevelExtreme() {
|
bool IsGPULevelExtreme();
|
||||||
return values.gpu_accuracy == GPUAccuracy::Extreme;
|
bool IsGPULevelHigh();
|
||||||
}
|
|
||||||
|
|
||||||
constexpr bool IsGPULevelHigh() {
|
|
||||||
return values.gpu_accuracy == GPUAccuracy::Extreme || values.gpu_accuracy == GPUAccuracy::High;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Apply();
|
void Apply();
|
||||||
void LogSettings();
|
void LogSettings();
|
||||||
|
|
Loading…
Reference in a new issue