yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Correct Linux Compile Error.

This commit is contained in:
Fernando Sahmkow 2020-04-15 21:42:05 -04:00
parent d2d4a6cbcf
commit 7f44f22451
2 changed files with 10 additions and 7 deletions

View File

@ -109,4 +109,12 @@ void LogSettings() {
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

View File

@ -486,13 +486,8 @@ struct Values {
std::map<u64, std::vector<std::string>> disabled_addons;
} extern values;
constexpr bool IsGPULevelExtreme() {
return values.gpu_accuracy == GPUAccuracy::Extreme;
}
constexpr bool IsGPULevelHigh() {
return values.gpu_accuracy == GPUAccuracy::Extreme || values.gpu_accuracy == GPUAccuracy::High;
}
bool IsGPULevelExtreme();
bool IsGPULevelHigh();
void Apply();
void LogSettings();