From 078fa9beb2ac8a22340e772d80799d40f6596721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 22 Sep 2022 15:27:17 +0200 Subject: [PATCH] Fix corruption of Ridge Racer speedometers with AutoMaxQuality enabled. See #8509 --- GPU/Common/TextureCacheCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Common/TextureCacheCommon.cpp b/GPU/Common/TextureCacheCommon.cpp index e47f768b35..dddd2d2edd 100644 --- a/GPU/Common/TextureCacheCommon.cpp +++ b/GPU/Common/TextureCacheCommon.cpp @@ -2698,7 +2698,7 @@ bool TextureCacheCommon::PrepareBuildTexture(BuildTexturePlan &plan, TexCacheEnt plan.levelsToLoad = 1; } - if (plan.isVideo || plan.depth != 1) { + if (plan.isVideo || plan.depth != 1 || plan.decodeToClut8) { plan.maxPossibleLevels = 1; } else { plan.maxPossibleLevels = log2i(std::min(plan.createW, plan.createH)) + 1;