Have DX9 plugin also dump frames on every VI as opposed to every new frame (follow-up to r7131 and issue #4064).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7411 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
smelenchuk 2011-03-24 20:06:24 +00:00
parent 49a5fbef4f
commit df9f614b58
1 changed files with 2 additions and 0 deletions

View File

@ -913,6 +913,8 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
static int w = 0, h = 0;
if (g_bSkipCurrentFrame || (!XFBWrited && (!g_ActiveConfig.bUseXFB || !g_ActiveConfig.bUseRealXFB)) || !fbWidth || !fbHeight)
{
if (g_ActiveConfig.bDumpFrames && data)
AVIDump::AddFrame(data);
Core::Callback_VideoCopiedToXFB(false);
return;
}