mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-20 04:02:24 -04:00
Wire up frame before/after events
This commit is contained in:
@@ -9,12 +9,14 @@
|
||||
|
||||
#include "VideoCommon/BoundingBox.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/Present.h"
|
||||
#include "VideoCommon/RenderBase.h"
|
||||
#include "VideoCommon/Statistics.h"
|
||||
#include "VideoCommon/VertexManagerBase.h"
|
||||
#include "VideoCommon/VideoBackendBase.h"
|
||||
#include "VideoCommon/VideoCommon.h"
|
||||
#include "VideoCommon/VideoState.h"
|
||||
#include "VideoCommon/VideoEvents.h"
|
||||
|
||||
AsyncRequests AsyncRequests::s_singleton;
|
||||
|
||||
@@ -154,8 +156,8 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
|
||||
break;
|
||||
|
||||
case Event::SWAP_EVENT:
|
||||
g_renderer->Swap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride,
|
||||
e.swap_event.fbHeight, e.time);
|
||||
g_presenter->ViSwap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride,
|
||||
e.swap_event.fbHeight, e.time);
|
||||
break;
|
||||
|
||||
case Event::BBOX_READ:
|
||||
|
||||
Reference in New Issue
Block a user