mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
AVIDump: Move CoreTiming into caller.
This commit is contained in:
@ -632,7 +632,7 @@ void Renderer::SetBlendMode(bool force_update)
|
||||
|
||||
// This function has the final picture. We adjust the aspect ratio here.
|
||||
void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height,
|
||||
const EFBRectangle& rc, float gamma)
|
||||
const EFBRectangle& rc, u64 ticks, float gamma)
|
||||
{
|
||||
if ((!XFBWrited && !g_ActiveConfig.RealXFBEnabled()) || !fb_width || !fb_height)
|
||||
{
|
||||
@ -778,7 +778,7 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height
|
||||
CheckHR(s_screenshot_texture->Map(0, &read_range, &screenshot_texture_map));
|
||||
|
||||
DumpFrameData(reinterpret_cast<const u8*>(screenshot_texture_map), source_width, source_height,
|
||||
dst_location.PlacedFootprint.Footprint.RowPitch);
|
||||
dst_location.PlacedFootprint.Footprint.RowPitch, ticks);
|
||||
FinishFrameData();
|
||||
|
||||
D3D12_RANGE write_range = {};
|
||||
|
Reference in New Issue
Block a user