mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #587 from RachelBryk/recording-race
Don't allow starting recording in states that will cause a crash or othe...
This commit is contained in:
@ -707,6 +707,9 @@ void CFrame::OnChangeDisc(wxCommandEvent& WXUNUSED (event))
|
|||||||
|
|
||||||
void CFrame::OnRecord(wxCommandEvent& WXUNUSED (event))
|
void CFrame::OnRecord(wxCommandEvent& WXUNUSED (event))
|
||||||
{
|
{
|
||||||
|
if ((!Core::IsRunningAndStarted() && Core::IsRunning()) || Movie::IsRecordingInput() || Movie::IsPlayingInput())
|
||||||
|
return;
|
||||||
|
|
||||||
int controllers = 0;
|
int controllers = 0;
|
||||||
|
|
||||||
if (Movie::IsReadOnly())
|
if (Movie::IsReadOnly())
|
||||||
|
Reference in New Issue
Block a user