From ebdf54a60bb705f627b125d2fba4032cee8fe681 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 17 Sep 2016 12:05:05 +0200 Subject: [PATCH] gsdx sw: don't enable auto flush hack in replayer Otherwise we don't have same number of draw call in HW/SW which is awful to compare --- plugins/GSdx/GSRendererSW.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSRendererSW.cpp b/plugins/GSdx/GSRendererSW.cpp index 9c96b3cf0e..ff3d291f68 100644 --- a/plugins/GSdx/GSRendererSW.cpp +++ b/plugins/GSdx/GSRendererSW.cpp @@ -75,8 +75,10 @@ GSRendererSW::GSRendererSW(int threads) // Reset handler with the auto flush hack enabled on the SW renderer // Impact on perf is rather small, and it avoids an extra hack option. - m_userhacks_auto_flush = true; - ResetHandlers(); + if (!GLLoader::in_replayer) { + m_userhacks_auto_flush = true; + ResetHandlers(); + } } GSRendererSW::~GSRendererSW()