diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-16 03:42:05 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:22 +0200 |
commit | 7f44f224517a853be945350e6f537a7977f7e41c (patch) | |
tree | caef3aa8c71075ae27dc66ed3ad6b3b313211d7e /src/core/settings.cpp | |
parent | Clang format. (diff) | |
download | yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar.gz yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar.bz2 yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar.lz yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar.xz yuzu-7f44f224517a853be945350e6f537a7977f7e41c.tar.zst yuzu-7f44f224517a853be945350e6f537a7977f7e41c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/settings.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 445047469..cd6c257f5 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -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 |