diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-22 04:37:08 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-22 04:37:08 +0200 |
| commit | 6747543502365650afae7069f8d7ed1e45554e2b (patch) | |
| tree | c6f0c45c3f8c90392ac9cec323d4f56302dedb84 /Source/Core | |
| parent | 59be5da24c615518859c589a4fe52c503985cc38 (diff) | |
Qt: Fix crash on game start
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/FIFOPlayerWindow.cpp | 4 |
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() |
