Skip to content

Commit

Permalink
Merge pull request #587 from RachelBryk/recording-race
Browse files Browse the repository at this point in the history
Don't allow starting recording in states that will cause a crash or othe...
  • Loading branch information
skidau committed Sep 7, 2014
2 parents 213c9a6 + 24ca493 commit 741c0e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Core/DolphinWX/FrameTools.cpp
Expand Up @@ -707,6 +707,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())
Expand Down

0 comments on commit 741c0e2

Please sign in to comment.