mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Don't allow starting recording in states that will cause a crash or other problem.
This commit is contained in:
parent
1f25f3c1c9
commit
24ca493dd1
1 changed files with 3 additions and 0 deletions
|
@ -747,6 +747,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())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue