summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-07-17 02:04:03 +0200
committerDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-07-17 02:04:03 +0200
commit51dff5a74ecc0bafe965f360c898b381e8911c3a (patch)
treeb989c9af34aa6bb8d00535985c612431be06c4cd /Source/Core/VideoBackends/Software/SWmain.cpp
parent8cf21cdcdb30d1587a03b6fbb131465f489d3d25 (diff)
parent92eed472132a5d4589779bee5fc1d63db6023059 (diff)
Merge pull request #622 from phire/sw-fix-frame-dump
Fixed Frame dumping in VideoSoftware.
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.