diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-10-11 22:25:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-11 22:25:28 +0200 |
| commit | 7d5363ffa8228dce2a606ca542a997ce06aa7be0 (patch) | |
| tree | d347e0b81a18d6dabf202f76b26025f5b1079e38 /Source/Core/VideoBackends/D3D/Render.cpp | |
| parent | 4e46be951a3872b03352c82e4aa3def27de4f124 (diff) | |
| parent | 9f264c0872603ba1963adfa706ca7a1490bd0a24 (diff) | |
Merge pull request #4337 from degasus/framedump
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); |
