Movies: Disable some UI options while recording (since they cannot be reliably changed during recording)

This commit is contained in:
Sour 2017-12-28 20:27:16 -05:00
parent 5dc656624a
commit 87fd9734b2
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -947,7 +947,8 @@ 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;
mnuWaveStop.Enabled = running && waveRecording;