FifoPlayer: Generate fake VideoInterface updates

This commit is contained in:
iwubcode
2017-06-26 14:49:32 -05:00
parent 2cd9565b18
commit 5a372020ea
7 changed files with 72 additions and 2 deletions

View File

@ -162,6 +162,16 @@ std::unique_ptr<CPUCoreBase> FifoPlayer::GetCPUCore()
return std::make_unique<CPUCore>(this);
}
bool FifoPlayer::IsRunningWithFakeVideoInterfaceUpdates() const
{
if (!m_File || m_File->GetFrameCount() == 0)
{
return false;
}
return m_File->ShouldGenerateFakeVIUpdates();
}
u32 FifoPlayer::GetFrameObjectCount() const
{
if (m_CurrentFrame < m_FrameInfo.size())