From 63a141abe63ec74c9f6e1632b09bb3e30eda327f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 28 May 2023 23:40:57 +1000 Subject: [PATCH] GS/HW: Don't preload large framebuffer alpha textures --- pcsx2/GS/Renderers/HW/GSTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp index 3dae96e77d..785c220646 100644 --- a/pcsx2/GS/Renderers/HW/GSTextureCache.cpp +++ b/pcsx2/GS/Renderers/HW/GSTextureCache.cpp @@ -3701,7 +3701,7 @@ GSTextureCache::HashCacheEntry* GSTextureCache::LookupHashCache(const GIFRegTEX0 const bool dump = GSConfig.DumpReplaceableTextures && (!FMVstarted || GSConfig.DumpTexturesWithFMVActive) && (clut ? GSConfig.DumpPaletteTextures : GSConfig.DumpDirectTextures); const bool replace = GSConfig.LoadTextureReplacements && GSTextureReplacements::HasAnyReplacementTextures(); - bool can_cache = CanCacheTextureSize(TEX0.TW, TEX0.TH); + bool can_cache = (TEX0.PSM >= PSMT8H && TEX0.PSM <= PSMT4HH) ? CanPreloadTextureSize(TEX0.TW, TEX0.TH) : CanCacheTextureSize(TEX0.TW, TEX0.TH); if (!dump && !replace && !can_cache) return nullptr;