diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-01-23 23:20:13 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-01-25 05:23:14 -0500 |
| commit | 5ebd1e215b29bdbf74317ea1b6cb19578db0e41a (patch) | |
| tree | b796d65dd2ad9e9e357fb89034fd98c8bb0e28ba /Source/Core/VideoBackends/D3D/Render.cpp | |
| parent | 48e7e5b72e76899197b91fb3fe70f25c4339ca85 (diff) | |
Fifo: Make g_bSkipCurrentFrame a TU-local variable
This is only ever queried, making it a global isn't necessary.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Render.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/Render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index 412e30763c..2c1ca596f7 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -714,7 +714,7 @@ void formatBufferDump(const u8* in, u8* out, int w, int h, int p) // This function has the final picture. We adjust the aspect ratio here. void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const EFBRectangle& rc, float Gamma) { - if (Fifo::g_bSkipCurrentFrame || (!XFBWrited && !g_ActiveConfig.RealXFBEnabled()) || !fbWidth || !fbHeight) + if (Fifo::WillSkipCurrentFrame() || (!XFBWrited && !g_ActiveConfig.RealXFBEnabled()) || !fbWidth || !fbHeight) { if (SConfig::GetInstance().m_DumpFrames && !frame_data.empty()) AVIDump::AddFrame(&frame_data[0], fbWidth, fbHeight); |
