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,6 +215,8 @@ void FIFOPlayerWindow::StopRecording()
void FIFOPlayerWindow::OnEmulationStarted() void FIFOPlayerWindow::OnEmulationStarted()
{ {
UpdateControls(); UpdateControls();
if (FifoPlayer::GetInstance().GetFile())
OnFIFOLoaded(); OnFIFOLoaded();
} }