summaryrefslogtreecommitdiffstats
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-16 03:42:05 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:22 +0200
commit7f44f224517a853be945350e6f537a7977f7e41c (patch)
treecaef3aa8c71075ae27dc66ed3ad6b3b313211d7e /src/core/settings.h
parentClang format. (diff)
downloadyuzu-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.h9
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();