diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-09 22:48:03 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:06:01 +0200 |
commit | 1a424ea6c66cf8301148aae6459914b449dd5496 (patch) | |
tree | 643fe7c4492cddc46d81db16dd5e7c89954eca8a /src/android/app | |
parent | android: Remove top padding from in game menu items (diff) | |
download | yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar.gz yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar.bz2 yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar.lz yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar.xz yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.tar.zst yuzu-1a424ea6c66cf8301148aae6459914b449dd5496.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/jni/config.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp index 625f67333..d28f955df 100644 --- a/src/android/app/src/main/jni/config.cpp +++ b/src/android/app/src/main/jni/config.cpp @@ -221,10 +221,13 @@ void Config::ReadValues() { Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger( "Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal))); - // Use Mailbox VSync by default on Android. + // Use Mailbox VSync by default on Android Settings::values.vsync_mode = static_cast<Settings::VSyncMode>(config->GetInteger( "Renderer", "use_vsync", static_cast<u32>(Settings::VSyncMode::Mailbox))); + // Use GPU default anisotropic filtering on Android + Settings::values.max_anisotropy = config->GetInteger("Renderer", "max_anisotropy", 1); + ReadSetting("Renderer", Settings::values.bg_red); ReadSetting("Renderer", Settings::values.bg_green); ReadSetting("Renderer", Settings::values.bg_blue); |