summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-01-31 21:16:21 +0100
committerGitHub <noreply@github.com>2024-01-31 21:16:21 +0100
commitda6b5dd38a9441fb550268bbb3f222d71457313b (patch)
treec0215eff5768d36663e4abfbe52290fdcdc97d08 /Source/Core/VideoCommon/BPStructs.cpp
parent18abf7c768c715e4399bb68aec5d623633a1427f (diff)
parent16d8b6e6b3af87e5d7684bf34ca79b765ff44d33 (diff)
Merge pull request #12546 from lioncash/event
VideoCommon/Statistics: Remove global system accessor from s_after_frame_event
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 3da4a1f69a..0b8540bd44 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -346,7 +346,7 @@ static void BPWritten(PixelShaderManager& pixel_shader_manager, XFStateManager&
// render multiple sub-frames and arrange the XFB copies in next to each-other in main memory
// so they form a single completed XFB.
// See https://dolphin-emu.org/blog/2017/11/19/hybridxfb/ for examples and more detail.
- AfterFrameEvent::Trigger();
+ AfterFrameEvent::Trigger(Core::System::GetInstance());
// Note: Theoretically, in the future we could track the VI configuration and try to detect
// when an XFB is the last XFB copy of a frame. Not only would we get a clean "end of