mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Fix corruption of Ridge Racer speedometers with AutoMaxQuality enabled.
See #8509
This commit is contained in:
1 parent
c3cbb68452
commit
078fa9beb2
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user