From 9a76446cbae26ff7ad9966bf512cc6377d2a3cf3 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 12 Dec 2022 05:49:56 +0100 Subject: [PATCH] early-access version 3207 --- README.md | 2 +- src/video_core/textures/texture.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 379c14b91..416c479dc 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3206. +This is the source code for early-access 3207. ## Legal Notice diff --git a/src/video_core/textures/texture.cpp b/src/video_core/textures/texture.cpp index e07f9eed4..ba147a4c1 100755 --- a/src/video_core/textures/texture.cpp +++ b/src/video_core/textures/texture.cpp @@ -64,10 +64,11 @@ float TSCEntry::MaxAnisotropy() const noexcept { return 1.0f; } const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue(); - u32 added_anisotropic{}; + s32 added_anisotropic{}; if (anisotropic_settings == 0) { added_anisotropic = Settings::values.resolution_info.up_scale >> Settings::values.resolution_info.down_shift; + added_anisotropic = std::max(added_anisotropic - 1, 0); } else { added_anisotropic = Settings::values.max_anisotropy.GetValue() - 1U; }