Qt: Fix crash on game start
This commit is contained in:
parent
59be5da24c
commit
6747543502
|
@ -215,7 +215,9 @@ void FIFOPlayerWindow::StopRecording()
|
||||||
void FIFOPlayerWindow::OnEmulationStarted()
|
void FIFOPlayerWindow::OnEmulationStarted()
|
||||||
{
|
{
|
||||||
UpdateControls();
|
UpdateControls();
|
||||||
OnFIFOLoaded();
|
|
||||||
|
if (FifoPlayer::GetInstance().GetFile())
|
||||||
|
OnFIFOLoaded();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FIFOPlayerWindow::OnEmulationStopped()
|
void FIFOPlayerWindow::OnEmulationStopped()
|
||||||
|
|
Loading…
Reference in New Issue