gsdx: don't dump debug file if not requested

This commit is contained in:
Gregory Hainaut 2016-10-25 17:10:35 +02:00
parent 820462dbc0
commit 42b51611af
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ void GSRenderer::VSync(int field)
Flush();
if(s_n >= s_saven)
if(s_dump && s_n >= s_saven)
{
m_regs->Dump(root_sw + format("%05d_f%lld_gs_reg.txt", s_n, m_perfmon.GetFrame()));
}