mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-20 17:21:38 +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
|
@ -47,14 +47,15 @@ void VideoBackendBase::Video_ExitLoop()
|
|||
}
|
||||
|
||||
// Run from the CPU thread (from VideoInterface.cpp)
|
||||
void VideoBackendBase::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight)
|
||||
void VideoBackendBase::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight,
|
||||
u64 ticks)
|
||||
{
|
||||
if (m_initialized && g_ActiveConfig.bUseXFB && g_renderer)
|
||||
{
|
||||
Fifo::SyncGPU(Fifo::SyncGPUReason::Swap);
|
||||
|
||||
AsyncRequests::Event e;
|
||||
e.time = 0;
|
||||
e.time = ticks;
|
||||
e.type = AsyncRequests::Event::SWAP_EVENT;
|
||||
|
||||
e.swap_event.xfbAddr = xfbAddr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue