HW/VideoInterface: Refactor to class.

This commit is contained in:
Admiral H. Curtiss committed 2023-03-11 12:50:35 +01:00
1 parent 2102e64299
commit 069280ddc6
13 files changed
+450 -463

No files matched your search

+2 -1
View File
@@ -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);
}
}
}