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.h | |
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.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index b54a0d4ea..7d09253f5 100644 --- a/src/core/settings.h +++ b/src/core/settings.h @@ -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(); |