From 89d324786a48b8e2733bef94785ac8ce01fa02b8 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Fri, 16 Aug 2013 10:04:08 -0400 Subject: [PATCH] Prevent stopping emulation before fully booting. This can sometimes cause dolphin to crash. --- Source/Core/DolphinWX/Src/FrameTools.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index 8a7e3bf1e3..dcca6ccf66 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -1010,6 +1010,8 @@ void CFrame::DoPause() // Stop the emulation void CFrame::DoStop() { + if (!Core::IsRunningAndStarted()) + return; if (confirmStop) return;