Disabled the Start Recording and Play Recording menu items if a game is not running. Those options would error when they tried to save state.

This commit is contained in:
skidau 2015-04-02 11:01:55 +00:00
parent 55e1dad514
commit 4606862898
1 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ void MainWnd::OnToolsRecordStartmovierecording()
void MainWnd::OnUpdateToolsRecordStartmovierecording(CCmdUI* pCmdUI)
{
pCmdUI->Enable(!theApp.movieRecording);
pCmdUI->Enable(!theApp.movieRecording && emulating);
}
void MainWnd::OnToolsRecordStopmovierecording()
@ -567,7 +567,7 @@ void MainWnd::OnToolsPlayStartmovieplaying()
void MainWnd::OnUpdateToolsPlayStartmovieplaying(CCmdUI* pCmdUI)
{
pCmdUI->Enable(!theApp.moviePlaying);
pCmdUI->Enable(!theApp.moviePlaying && emulating);
}
void MainWnd::OnToolsPlayStopmovieplaying()