Qt: Fix crash on game start

This commit is contained in:
spycrab 2018-05-22 04:37:08 +02:00
parent 59be5da24c
commit 6747543502
1 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,9 @@ void FIFOPlayerWindow::StopRecording()
void FIFOPlayerWindow::OnEmulationStarted()
{
UpdateControls();
OnFIFOLoaded();
if (FifoPlayer::GetInstance().GetFile())
OnFIFOLoaded();
}
void FIFOPlayerWindow::OnEmulationStopped()