From 6747543502365650afae7069f8d7ed1e45554e2b Mon Sep 17 00:00:00 2001 From: spycrab Date: Tue, 22 May 2018 04:37:08 +0200 Subject: [PATCH] Qt: Fix crash on game start --- Source/Core/DolphinQt2/FIFOPlayerWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp index ecc89fc033..3f95d2445e 100644 --- a/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp +++ b/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp @@ -215,7 +215,9 @@ void FIFOPlayerWindow::StopRecording() void FIFOPlayerWindow::OnEmulationStarted() { UpdateControls(); - OnFIFOLoaded(); + + if (FifoPlayer::GetInstance().GetFile()) + OnFIFOLoaded(); } void FIFOPlayerWindow::OnEmulationStopped()