HW/VideoInterface: Refactor to class.

This commit is contained in:
Admiral H. Curtiss 2023-03-10 22:14:54 +01:00
commit 069280ddc6
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
13 changed files with 450 additions and 463 deletions

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);
}
}
}