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.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1285 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
396f0bd84d
commit
898e8a9d99
|
@ -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