summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorCasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>2022-08-18 13:38:37 -0700
committerCasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>2022-08-18 13:38:37 -0700
commitab8a8e6f84652d9072bb8296e461d0d54f403edb (patch)
tree0e9685ed27900682278e3516b05e2f7ab016f417 /Source/Core/VideoCommon/AsyncRequests.cpp
parentb6a18b0da51ec0733dc6fcc78725fa4f800fc035 (diff)
Fix crashes in dual core mode on a PI_FIFO_RESET
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp
index f8306ddc3e..0371683376 100644
--- a/Source/Core/VideoCommon/AsyncRequests.cpp
+++ b/Source/Core/VideoCommon/AsyncRequests.cpp
@@ -158,6 +158,10 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
*e.bbox.data = g_renderer->BBoxRead(e.bbox.index);
break;
+ case Event::FIFO_RESET:
+ Fifo::ResetVideoBuffer();
+ break;
+
case Event::PERF_QUERY:
g_perf_query->FlushResults();
break;