From 68cfc5d953df2667bb68049882ea9b7191715341 Mon Sep 17 00:00:00 2001 From: Alessandro Vetere Date: Mon, 5 Aug 2019 20:44:19 +0200 Subject: [PATCH] GSdx-hw TC: fix Target::Inside check - inclusion shall not be strict only on start side --- plugins/GSdx/Renderers/HW/GSTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/HW/GSTextureCache.cpp b/plugins/GSdx/Renderers/HW/GSTextureCache.cpp index 61fe3cec27..b8b1924442 100644 --- a/plugins/GSdx/Renderers/HW/GSTextureCache.cpp +++ b/plugins/GSdx/Renderers/HW/GSTextureCache.cpp @@ -1925,7 +1925,7 @@ bool GSTextureCache::Target::Inside(uint32 bp, uint32 bw, uint32 psm, const GSVe { uint32 block = GSLocalMemory::m_psm[psm].bn(rect.z - 1, rect.w - 1, bp, bw); // Valid only for color formats - return bp > m_TEX0.TBP0 && block <= m_end_block; + return bp >= m_TEX0.TBP0 && block <= m_end_block; } // GSTextureCache::SourceMap