Skip to content

Commit

Permalink
Tools: Remove debug preprocessor check around dumping of HW renderer …
Browse files Browse the repository at this point in the history
…frames.
  • Loading branch information
TJnotJT committed Feb 5, 2025
1 parent c19921d commit b9e0272
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,10 @@ GSTexture* GSRendererHW::GetOutput(int i, float& scale, int& y_offset)
GL_CACHE("Frame y offset %d pixels, unit %d", y_offset, i);
}

#ifdef ENABLE_OGL_DEBUG
if (GSConfig.SaveFrame && GSConfig.ShouldDump(s_n, g_perfmon.GetFrame()))
{
t->Save(GetDrawDumpPath("%05d_f%05lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), i, static_cast<int>(TEX0.TBP0), psm_str(TEX0.PSM)));
}
#endif
}

return t;
Expand All @@ -207,10 +205,8 @@ GSTexture* GSRendererHW::GetFeedbackOutput(float& scale)
GSTexture* t = rt->m_texture;
scale = rt->m_scale;

#ifdef ENABLE_OGL_DEBUG
if (GSConfig.SaveFrame && GSConfig.ShouldDump(s_n, g_perfmon.GetFrame()))
t->Save(GetDrawDumpPath("%05d_f%05lld_fr%d_%05x_%s.bmp", s_n, g_perfmon.GetFrame(), 3, static_cast<int>(TEX0.TBP0), psm_str(TEX0.PSM)));
#endif

return t;
}
Expand Down Expand Up @@ -3410,8 +3406,6 @@ void GSRendererHW::Draw()
GSTextureCache::RenderTarget, m_cached_ctx.ZBUF.Block(), m_cached_ctx.ZBUF.PSM, zm);
}

//

if (GSConfig.ShouldDump(s_n, g_perfmon.GetFrame()))
{
const u64 frame = g_perfmon.GetFrame();
Expand Down

0 comments on commit b9e0272

Please sign in to comment.