diff options
| author | Fog <christhecoolist@gmail.com> | 2014-10-12 23:53:10 -0400 |
|---|---|---|
| committer | Fog <christhecoolist@gmail.com> | 2014-10-12 23:56:16 -0400 |
| commit | 8d424b114ae98243744a118e44d38e0a40645682 (patch) | |
| tree | 504759d86a709c5181b8fc37daa10efc88558a9e /Source/Core/VideoBackends/Software/DebugUtil.cpp | |
| parent | 26fc3c168a2f0ad9a1dde00d479591bd0d61174e (diff) | |
Move bDumpFrames to SConfig (and it's references)
Diffstat (limited to 'Source/Core/VideoBackends/Software/DebugUtil.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/DebugUtil.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
