From 6b0853c2e0facc0ab0c39326ed7e81a8b71c3d86 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 14 Jan 2014 01:14:06 -0800 Subject: [PATCH] Report when texturing from the render framebuffer. --- GPU/GLES/TextureCache.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index f0b9263b86..e714e9fdc7 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -877,6 +877,11 @@ void TextureCache::SetTexture(bool force) { return; } + u32 fb_addr = gstate.getFrameBufRawAddress() | 0x04000000; + if (fb_addr == gstate.getTextureAddress(0)) { + WARN_LOG_REPORT(HLE, "Render to self texture (%08x)", fb_addr); + } + GETextureFormat format = gstate.getTextureFormat(); if (format >= 11) { ERROR_LOG_REPORT(G3D, "Unknown texture format %i", format);