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:
parent
55e1dad514
commit
4606862898
|
@ -476,7 +476,7 @@ void MainWnd::OnToolsRecordStartmovierecording()
|
||||||
|
|
||||||
void MainWnd::OnUpdateToolsRecordStartmovierecording(CCmdUI* pCmdUI)
|
void MainWnd::OnUpdateToolsRecordStartmovierecording(CCmdUI* pCmdUI)
|
||||||
{
|
{
|
||||||
pCmdUI->Enable(!theApp.movieRecording);
|
pCmdUI->Enable(!theApp.movieRecording && emulating);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWnd::OnToolsRecordStopmovierecording()
|
void MainWnd::OnToolsRecordStopmovierecording()
|
||||||
|
@ -567,7 +567,7 @@ void MainWnd::OnToolsPlayStartmovieplaying()
|
||||||
|
|
||||||
void MainWnd::OnUpdateToolsPlayStartmovieplaying(CCmdUI* pCmdUI)
|
void MainWnd::OnUpdateToolsPlayStartmovieplaying(CCmdUI* pCmdUI)
|
||||||
{
|
{
|
||||||
pCmdUI->Enable(!theApp.moviePlaying);
|
pCmdUI->Enable(!theApp.moviePlaying && emulating);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWnd::OnToolsPlayStopmovieplaying()
|
void MainWnd::OnToolsPlayStopmovieplaying()
|
||||||
|
|
Loading…
Reference in New Issue