summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2014-07-14 23:51:55 +1200
committerScott Mansell <phiren@gmail.com>2014-07-17 11:43:59 +1200
commit92eed472132a5d4589779bee5fc1d63db6023059 (patch)
tree4cea8f0f83a5a3da33066a4b063723f62afdc7e8 /Source/Core/VideoBackends/Software/SWmain.cpp
parent3ac4e9f171b116d4b09990058c18741598bb2ef8 (diff)
Fixed Frame dumping in VideoSoftware.
Old code dumped the efb, which was no-longer relevant since the backend gained xfb support. New code dumps the colour texture which is about to be rendered to the screen so correctly reflects the bypassXFB option.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index a947afaa6b..e90b226d62 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -232,6 +232,9 @@ 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.