From d080632527de87eb39296bef5e77d05256f48643 Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 28 Feb 2015 15:57:41 +1100 Subject: [PATCH] Ignore the File Open command if a game is running --- Source/Core/DolphinWX/FrameTools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 5ae3e62076..7ab7e9523c 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -686,7 +686,8 @@ void CFrame::BootGame(const std::string& filename) // Open file to boot void CFrame::OnOpen(wxCommandEvent& WXUNUSED (event)) { - DoOpen(true); + if (Core::GetState() == Core::CORE_UNINITIALIZED) + DoOpen(true); } void CFrame::DoOpen(bool Boot)