mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
AVIDump: Move CoreTiming into caller.
This commit is contained in:
parent
a583d36c7f
commit
9f264c0872
22 changed files with 63 additions and 48 deletions
|
@ -460,7 +460,7 @@ void Renderer::ReinterpretPixelData(unsigned int convtype)
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
// Flush any pending EFB pokes.
|
||||
m_framebuffer_mgr->FlushEFBPokes(m_state_tracker.get());
|
||||
|
@ -486,7 +486,7 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height
|
|||
DumpFrameData(reinterpret_cast<const u8*>(m_screenshot_readback_texture->GetMapPointer()),
|
||||
static_cast<int>(m_screenshot_render_texture->GetWidth()),
|
||||
static_cast<int>(m_screenshot_render_texture->GetHeight()),
|
||||
static_cast<int>(m_screenshot_readback_texture->GetRowStride()));
|
||||
static_cast<int>(m_screenshot_readback_texture->GetRowStride()), ticks);
|
||||
FinishFrameData();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue