summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 00:59:17 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:24 +1300
commit3be63221c7a1003ce6177e823da5ec399cd51015 (patch)
tree67a1401165ca60fae43df825ddb9eea3c8bc3159 /Source/Core/VideoCommon/AsyncRequests.cpp
parent3ae78b8e762787a3114baeabec2dd0178562ed1c (diff)
Renderer still needs to track swaps for savestates
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp
index 8c254d4e71..7cbb134f7e 100644
--- a/Source/Core/VideoCommon/AsyncRequests.cpp
+++ b/Source/Core/VideoCommon/AsyncRequests.cpp
@@ -158,6 +158,8 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
case Event::SWAP_EVENT:
g_presenter->ViSwap(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride,
e.swap_event.fbHeight, e.time);
+ g_renderer->TrackSwaps(e.swap_event.xfbAddr, e.swap_event.fbWidth, e.swap_event.fbStride,
+ e.swap_event.fbHeight, e.time);
break;
case Event::BBOX_READ: