From 8d424b114ae98243744a118e44d38e0a40645682 Mon Sep 17 00:00:00 2001 From: Fog Date: Sun, 12 Oct 2014 23:53:10 -0400 Subject: Move bDumpFrames to SConfig (and it's references) --- Source/Core/VideoBackends/Software/DebugUtil.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/Software/DebugUtil.cpp') diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp index f5740d5883..dc198c2e99 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.cpp +++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp @@ -6,6 +6,8 @@ #include "Common/FileUtil.h" #include "Common/StringUtil.h" +#include "Core/ConfigManager.h" + #include "VideoBackends/Software/BPMemLoader.h" #include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/EfbInterface.h" @@ -253,7 +255,7 @@ void OnFrameEnd(u32 width, u32 height) { if (!g_bSkipCurrentFrame) { - if (g_SWVideoConfig.bDumpFrames) + if (SConfig::GetInstance().m_DumpFrames) { DumpColorTexture(StringFromFormat("%sframe%i_color.png", File::GetUserPath(D_DUMPFRAMES_IDX).c_str(), swstats.frameCount), width, height); -- cgit v1.2.3