summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-03-10 22:14:54 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2023-03-11 12:50:35 +0100
commit069280ddc6c9bc161a4a003c555f685adbb47f53 (patch)
tree31a07285551f17e35fcbcb0b95a59ac380f3d018 /Source/Core/VideoCommon/BPStructs.cpp
parent2102e642999fccc53fd2bfac0cf1bc0e8290b067 (diff)
HW/VideoInterface: Refactor to class.
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 8bb312f1ba..ca1dea09ed 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -366,7 +366,8 @@ static void BPWritten(PixelShaderManager& pixel_shader_manager,
{
if (FifoPlayer::GetInstance().IsRunningWithFakeVideoInterfaceUpdates())
{
- VideoInterface::FakeVIUpdate(destAddr, srcRect.GetWidth(), destStride, height);
+ auto& vi = Core::System::GetInstance().GetVideoInterface();
+ vi.FakeVIUpdate(destAddr, srcRect.GetWidth(), destStride, height);
}
}
}