mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 11:04:28 +01:00
GS/HW: Don't preload large framebuffer alpha textures
This commit is contained in:
1 parent
abce57ce9c
commit
63a141abe6
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user