From 24ca493dd1e65f4ee1dbcd843a7dbc0269e5aa5e Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Tue, 8 Jul 2014 17:18:37 -0400 Subject: [PATCH] Don't allow starting recording in states that will cause a crash or other problem. --- Source/Core/DolphinWX/FrameTools.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 6548deb5f0..b2e060df14 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -747,6 +747,9 @@ void CFrame::OnChangeDisc(wxCommandEvent& WXUNUSED (event)) void CFrame::OnRecord(wxCommandEvent& WXUNUSED (event)) { + if ((!Core::IsRunningAndStarted() && Core::IsRunning()) || Movie::IsRecordingInput() || Movie::IsPlayingInput()) + return; + int controllers = 0; if (Movie::IsReadOnly())