diff options
| author | degasus <wickmarkus@web.de> | 2016-10-08 12:56:28 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-10-10 12:03:18 +0200 |
| commit | 9f264c0872603ba1963adfa706ca7a1490bd0a24 (patch) | |
| tree | 06d4069ab0332d8e4635ffaf712d3e4d2711a42f /Source/Core/VideoBackends/D3D/Render.cpp | |
| parent | a583d36c7f38fac9fb66c059bf6990bfd819591f (diff) | |
AVIDump: Move CoreTiming into caller.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/Render.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/Render.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/D3D/Render.cpp b/Source/Core/VideoBackends/D3D/Render.cpp index 9452d03f86..15289f49f3 100644 --- a/Source/Core/VideoBackends/D3D/Render.cpp +++ b/Source/Core/VideoBackends/D3D/Render.cpp @@ -713,7 +713,7 @@ void Renderer::SetBlendMode(bool forceUpdate) // 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) + const EFBRectangle& rc, u64 ticks, float Gamma) { if ((!XFBWrited && !g_ActiveConfig.RealXFBEnabled()) || !fbWidth || !fbHeight) { @@ -824,8 +824,8 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, D3D11_MAPPED_SUBRESOURCE map; D3D::context->Map(s_screenshot_texture, 0, D3D11_MAP_READ, 0, &map); - DumpFrameData(reinterpret_cast<const u8*>(map.pData), source_width, source_height, - map.RowPitch); + DumpFrameData(reinterpret_cast<const u8*>(map.pData), source_width, source_height, map.RowPitch, + ticks); FinishFrameData(); D3D::context->Unmap(s_screenshot_texture, 0); |
