diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-07-17 13:14:11 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-07-17 13:20:13 +0200 |
| commit | d44fc4829538287fc05b0783466227064945780b (patch) | |
| tree | 3a49f493b8f0234a5220c764c012a260de530c12 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 705afc70b6346081193dbe295abb6f5ceb2e5b79 (diff) | |
SW: Call OnFrameEnd in the FifoPlayer XFB hack. Required to dump DFF frames.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index e90b226d62..c4a6d2f0c8 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -232,9 +232,6 @@ void VideoSoftware::Video_EndField() } } - // Dump frame if needed - DebugUtil::OnFrameEnd(s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight); - // Ideally we would just move all the OpenGL context stuff to the CPU thread, // but this gets messy when the hardware rasterizer is enabled. // And neobrain loves his hardware rasterizer. @@ -242,6 +239,9 @@ void VideoSoftware::Video_EndField() // If BypassXFB has already done a swap (cf. EfbCopy::CopyToXfb), skip this. if (!g_SWVideoConfig.bBypassXFB) { + // Dump frame if needed + DebugUtil::OnFrameEnd(s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight); + // If we are in dual core mode, notify the GPU thread about the new color texture. if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread) Common::AtomicStoreRelease(s_swapRequested, true); |
