diff options
| author | Mathew Maidment <mathew1800@gmail.com> | 2016-01-25 05:34:43 -0500 |
|---|---|---|
| committer | Mathew Maidment <mathew1800@gmail.com> | 2016-01-25 05:34:43 -0500 |
| commit | bdfcaa0e00162805efc692b4b7423f096bd75084 (patch) | |
| tree | 57b32b13d9640977b3270fa055865dcc9da2a1eb /Source/Core/VideoBackends/Software/DebugUtil.cpp | |
| parent | 48e7e5b72e76899197b91fb3fe70f25c4339ca85 (diff) | |
| parent | 488e7bd46a2504fc763d65ca5151b66cd83e97f9 (diff) | |
Merge pull request #3560 from lioncash/fifo
Fifo: get rid of global variables
Diffstat (limited to 'Source/Core/VideoBackends/Software/DebugUtil.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/DebugUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp index e7f3089027..0e2b4e1934 100644 --- a/Source/Core/VideoBackends/Software/DebugUtil.cpp +++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp @@ -191,7 +191,7 @@ void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char *nam void OnObjectBegin() { - if (!Fifo::g_bSkipCurrentFrame) + if (!Fifo::WillSkipCurrentFrame()) { if (g_ActiveConfig.bDumpTextures && stats.thisFrame.numDrawnObjects >= g_ActiveConfig.drawStart && stats.thisFrame.numDrawnObjects < g_ActiveConfig.drawEnd) DumpActiveTextures(); @@ -200,7 +200,7 @@ void OnObjectBegin() void OnObjectEnd() { - if (!Fifo::g_bSkipCurrentFrame) + if (!Fifo::WillSkipCurrentFrame()) { if (g_ActiveConfig.bDumpObjects && stats.thisFrame.numDrawnObjects >= g_ActiveConfig.drawStart && stats.thisFrame.numDrawnObjects < g_ActiveConfig.drawEnd) DumpEfb(StringFromFormat("%sobject%i.png", |
