NSF: Fixed File menu navigation with keyboard when playing NSF file
This commit is contained in:
parent
84edd06a93
commit
a3e610ffeb
1 changed files with 2 additions and 6 deletions
|
@ -513,15 +513,11 @@ namespace Mesen.GUI.Forms
|
|||
|
||||
bool isNetPlayClient = InteropEmu.IsConnected();
|
||||
|
||||
mnuSaveState.Enabled = mnuLoadState.Enabled = mnuPause.Enabled = mnuStop.Enabled = mnuReset.Enabled = (_emuThread != null && !isNetPlayClient);
|
||||
mnuPause.Enabled = mnuStop.Enabled = mnuReset.Enabled = (_emuThread != null && !isNetPlayClient);
|
||||
mnuSaveState.Enabled = mnuLoadState.Enabled = (_emuThread != null && !isNetPlayClient && !InteropEmu.IsNsf());
|
||||
mnuPause.Text = InteropEmu.IsPaused() ? ResourceHelper.GetMessage("Resume") : ResourceHelper.GetMessage("Pause");
|
||||
mnuPause.Image = InteropEmu.IsPaused() ? Mesen.GUI.Properties.Resources.Play : Mesen.GUI.Properties.Resources.Pause;
|
||||
|
||||
if(InteropEmu.IsNsf()) {
|
||||
mnuSaveState.Enabled = false;
|
||||
mnuLoadState.Enabled = false;
|
||||
}
|
||||
|
||||
bool netPlay = InteropEmu.IsServerRunning() || isNetPlayClient;
|
||||
|
||||
mnuStartServer.Enabled = !isNetPlayClient;
|
||||
|
|
Loading…
Add table
Reference in a new issue