From 95e1cd9ea8e933728f0e55cfcacff3147c5bddd4 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 4 Jul 2015 11:00:32 +0200 Subject: [PATCH] gsdx-tc: don't considerer frame as a 32 bits RT Frame is always 32 bits but game can reuse it later as a 16 bits RT. Fix half screen issue with Ricky Ponting Cricket Unfortunately it triggers texture shuffle wrongly. I hope there is no regression. --- plugins/GSdx/GSTextureCache.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GSTextureCache.cpp b/plugins/GSdx/GSTextureCache.cpp index e2ec8a7f1a..0e2399651d 100644 --- a/plugins/GSdx/GSTextureCache.cpp +++ b/plugins/GSdx/GSTextureCache.cpp @@ -432,6 +432,9 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, int } dst->m_used = true; + // Frame is always 32 bits. However target could be reused for standard RT. If the + // game uses a 16 bits RT (ricky cricket), you will be screwed + dst->m_32_bits_fmt = false; return dst; }