Merge pull request #6937 from spycrab/hotfix_fifo

Qt: Fix crash on game start
This commit is contained in:
spycrab 2018-05-22 04:44:14 +02:00 committed by GitHub
commit f64bd401b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()