summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/FIFOPlayerWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/FIFOPlayerWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/FIFOPlayerWindow.cpp4
1 files changed, 3 insertions, 1 deletions
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()