HW/VideoInterface: Refactor to class.

This commit is contained in:
Admiral H. Curtiss
2023-03-11 12:50:35 +01:00
parent 2102e64299
commit 069280ddc6
13 changed files with 450 additions and 463 deletions
+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);
}
}
}