Movies: Disable some UI options while recording (since they cannot be reliably changed during recording)
This commit is contained in:
parent
5dc656624a
commit
87fd9734b2
2 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,9 @@ namespace Mesen.GUI.Forms.Config
|
|||
{
|
||||
InitializeComponent();
|
||||
|
||||
tpgOverclocking.Enabled = !InteropEmu.MoviePlaying() && !InteropEmu.MovieRecording();
|
||||
tpgAdvanced.Enabled = !InteropEmu.MoviePlaying() && !InteropEmu.MovieRecording();
|
||||
|
||||
ConfigManager.Config.EmulationInfo.EmulationSpeed = InteropEmu.GetEmulationSpeed();
|
||||
Entity = ConfigManager.Config.EmulationInfo;
|
||||
|
||||
|
|
|
@ -947,6 +947,7 @@ namespace Mesen.GUI.Forms
|
|||
mnuPlayMovie.Enabled = !netPlay && !moviePlaying && !movieRecording;
|
||||
mnuStopMovie.Enabled = running && !netPlay && (moviePlaying || movieRecording);
|
||||
mnuRecordMovie.Enabled = running && !moviePlaying && !movieRecording && !isNetPlayClient;
|
||||
mnuVsGameConfig.Enabled = !moviePlaying && !movieRecording;
|
||||
|
||||
bool waveRecording = InteropEmu.WaveIsRecording();
|
||||
mnuWaveRecord.Enabled = running && !waveRecording;
|
||||
|
|
Loading…
Add table
Reference in a new issue