From ca5adcda71c3a7d81f3aea280c9afb8a7d258169 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 7 Oct 2018 14:40:10 -0700 Subject: [PATCH] GPU: Reduce log noise while stepping. We redisplay the framebuf over and over, which is annoying when you have debug logging on and are trying to read the log. --- GPU/Common/FramebufferCommon.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GPU/Common/FramebufferCommon.cpp b/GPU/Common/FramebufferCommon.cpp index f77b4c4a17..fadf926334 100644 --- a/GPU/Common/FramebufferCommon.cpp +++ b/GPU/Common/FramebufferCommon.cpp @@ -955,7 +955,10 @@ void FramebufferManagerCommon::CopyDisplayToOutput() { displayFramebuf_ = vfb; if (vfb->fbo) { - DEBUG_LOG(FRAMEBUF, "Displaying FBO %08x", vfb->fb_address); + if (coreState == CORE_STEPPING) + VERBOSE_LOG(FRAMEBUF, "Displaying FBO %08x", vfb->fb_address); + else + DEBUG_LOG(FRAMEBUF, "Displaying FBO %08x", vfb->fb_address); int uvRotation = useBufferedRendering_ ? g_Config.iInternalScreenRotation : ROTATION_LOCKED_HORIZONTAL;