GS/HW: Don't preload large framebuffer alpha textures

This commit is contained in:
Stenzek 2023-05-28 23:40:57 +10:00 committed by refractionpcsx2
parent abce57ce9c
commit 63a141abe6
1 changed files with 1 additions and 1 deletions

View File

@ -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;