gsdx tc: log unsupported LookupDepthSource

This commit is contained in:
Gregory Hainaut committed 2016-07-14 18:29:22 +02:00
1 parent 093704f073
commit abc9f7d096
1 file changed
+4 -1
+4 -1
View File
@@ -87,7 +87,10 @@ void GSTextureCache::RemoveAll()
GSTextureCache::Source* GSTextureCache::LookupDepthSource(const GIFRegTEX0& TEX0, const GIFRegTEXA& TEXA, const GSVector4i& r, bool palette)
{
if (!CanConvertDepth()) throw GSDXRecoverableError();
if (!CanConvertDepth()) {
GL_CACHE("LookupDepthSource not supported (0x%x, F:0x%x)", TEX0.TBP0, TEX0.PSM);
throw GSDXRecoverableError();
}
const GSLocalMemory::psm_t& psm_s = GSLocalMemory::m_psm[TEX0.PSM];