UI: Removed developer mode option

Debug menu is now always displayed in main window
This commit is contained in:
Sour 2020-01-23 19:32:09 -05:00
parent d0859325ac
commit 867ca84f7f
18 changed files with 25 additions and 89 deletions

View file

@ -23,8 +23,6 @@ enum EmulationFlags : uint64_t
PauseOnMovieEnd = 0x0100,
DeveloperMode = 0x0200,
AllowBackgroundInput = 0x0400,
ReduceSoundInBackground = 0x0800,
MuteSoundInBackground = 0x1000,

View file

@ -79,8 +79,6 @@ namespace Mesen.GUI.Config
public bool ConfirmExitResetPower = false;
public bool DeveloperMode = false;
public UInt32 RewindBufferSize = 300;
public bool OverrideGameFolder = false;
@ -180,8 +178,6 @@ namespace Mesen.GUI.Config
InteropEmu.SetOsdState(!preferenceInfo.DisableOsd);
InteropEmu.SetGameDatabaseState(!preferenceInfo.DisableGameDatabase);
InteropEmu.SetFlag(EmulationFlags.DeveloperMode, preferenceInfo.DeveloperMode);
InteropEmu.SetFlag(EmulationFlags.FdsAutoLoadDisk, preferenceInfo.FdsAutoLoadDisk);
InteropEmu.SetFlag(EmulationFlags.FdsFastForwardOnLoad, preferenceInfo.FdsFastForwardOnLoad);
InteropEmu.SetFlag(EmulationFlags.FdsAutoInsertDisk, preferenceInfo.FdsAutoInsertDisk);

View file

@ -356,8 +356,6 @@
<Control ID="chkSingleInstance">Permet només una sola instància de Mesen alhora</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Cerca actualitzacions automàticament</Control>
<Control ID="chkDeveloperMode">Activa el mode de desenvolupador</Control>
<Control ID="lblPauseBackgroundSettings">Comportament en segon pla</Control>
<Control ID="lblMiscSettings">Configuracions diverses</Control>
<Control ID="chkAutoHideMenu">Amaga la barra de menú automàticament</Control>

View file

@ -357,8 +357,6 @@
<Control ID="chkSingleInstance">Only allow one instance of Mesen at a time</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Automatically check for updates</Control>
<Control ID="chkDeveloperMode">Enable developer mode</Control>
<Control ID="lblPauseBackgroundSettings">Pause/Background Settings</Control>
<Control ID="lblMiscSettings">Miscellaneous Settings</Control>
<Control ID="chkAutoHideMenu">Automatically hide menu bar</Control>

View file

@ -355,8 +355,6 @@
<Control ID="chkSingleInstance">Permitir una sola copia de Mesen a la vez</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Buscar actualizaciones automáticamente</Control>
<Control ID="chkDeveloperMode">Habilitar modo desarrollador</Control>
<Control ID="lblPauseBackgroundSettings">Pausa/Configuración en segundo plano</Control>
<Control ID="lblMiscSettings">Configuraciones varias</Control>
<Control ID="chkAutoHideMenu">Ocultar barra de menú automáticamente</Control>

View file

@ -357,8 +357,6 @@
<Control ID="chkSingleInstance">Permettre une seule copie de Mesen à la fois</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Rechercher des mises-à-jour automatiquement</Control>
<Control ID="chkDeveloperMode">Activer le mode développeur</Control>
<Control ID="lblPauseBackgroundSettings">Options d'arrière-plan et pause</Control>
<Control ID="lblMiscSettings">Options diverses</Control>
<Control ID="chkAutoHideMenu">Cacher la barre de menu automatiquement</Control>

View file

@ -357,8 +357,6 @@
<Control ID="chkSingleInstance">Permetti solo un'instanza di Mesen alla volta</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Cerca aggiornamenti automaticamente</Control>
<Control ID="chkDeveloperMode">Abilita modalità sviluppatore</Control>
<Control ID="lblPauseBackgroundSettings">Opzioni Pausa/Background</Control>
<Control ID="lblMiscSettings">Opzioni Varie</Control>
<Control ID="chkAutoHideMenu">Nascondi barra dei menù automaticamente</Control>

View file

@ -355,8 +355,6 @@
<Control ID="chkSingleInstance">Mesenを単一インスタンスモードにする</Control>
<Control ID="chkAutomaticallyCheckForUpdates">自動的にアップデートを確認</Control>
<Control ID="chkDeveloperMode">開発者モードを有効にする</Control>
<Control ID="lblPauseBackgroundSettings">ポーズ・バックグラウンド設定</Control>
<Control ID="lblMiscSettings">その他</Control>
<Control ID="chkAutoHideMenu">自動的にメニューバーを隠す</Control>

View file

@ -357,8 +357,6 @@
<Control ID="chkSingleInstance">Permitir executar apenas uma cópia do Mesen por vez</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Verificar atualizações automaticamente</Control>
<Control ID="chkDeveloperMode">Ativar o modo desenvolvedor</Control>
<Control ID="lblPauseBackgroundSettings">Pausar/configurações em segundo plano</Control>
<Control ID="lblMiscSettings">Configurações diversas</Control>
<Control ID="chkAutoHideMenu">Ocultar automaticamente a barra de menus</Control>

View file

@ -355,8 +355,6 @@
<Control ID="chkSingleInstance">Запускать только одну копию Mesen</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Автоматически проверять обновления</Control>
<Control ID="chkDeveloperMode">Включить режим разработчика</Control>
<Control ID="lblPauseBackgroundSettings">Настройки паузы/заднего плана</Control>
<Control ID="lblMiscSettings">Дополнительные настройки</Control>
<Control ID="chkAutoHideMenu">Автоматически спрятать строку меню</Control>

View file

@ -355,8 +355,6 @@
<Control ID="chkSingleInstance">Дозволити лише одну копію Mesen одночасно</Control>
<Control ID="chkAutomaticallyCheckForUpdates">Автоматично перевіряти оновлення</Control>
<Control ID="chkDeveloperMode">Увімкнути режим розробника</Control>
<Control ID="lblPauseBackgroundSettings">Пауза/Фонові настройки</Control>
<Control ID="lblMiscSettings">Різнi настройки</Control>
<Control ID="chkAutoHideMenu">Автоматично приховувати панель меню</Control>

View file

@ -380,7 +380,6 @@
<Control ID="lblDisplayLanguage">语言:</Control>
<Control ID="chkSingleInstance">单实例模式</Control>
<Control ID="chkAutomaticallyCheckForUpdates">自动检查更新</Control>
<Control ID="chkDeveloperMode">启用开发者模式</Control>
<Control ID="lblPauseBackgroundSettings">暂停/后台设置</Control>
<Control ID="lblMiscSettings">其他</Control>
<Control ID="chkAutoHideMenu">自动隐藏菜单</Control>

View file

@ -32,7 +32,6 @@ namespace Mesen.GUI.Forms.Config
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPreferences));
this.tlpMain = new System.Windows.Forms.TableLayoutPanel();
this.chkDeveloperMode = new System.Windows.Forms.CheckBox();
this.lblPauseBackgroundSettings = new System.Windows.Forms.Label();
this.chkSingleInstance = new System.Windows.Forms.CheckBox();
this.chkAutomaticallyCheckForUpdates = new System.Windows.Forms.CheckBox();
@ -212,7 +211,6 @@ namespace Mesen.GUI.Forms.Config
//
this.tlpMain.ColumnCount = 1;
this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tlpMain.Controls.Add(this.chkDeveloperMode, 0, 15);
this.tlpMain.Controls.Add(this.lblPauseBackgroundSettings, 0, 3);
this.tlpMain.Controls.Add(this.chkSingleInstance, 0, 2);
this.tlpMain.Controls.Add(this.chkAutomaticallyCheckForUpdates, 0, 1);
@ -222,7 +220,7 @@ namespace Mesen.GUI.Forms.Config
this.tlpMain.Controls.Add(this.chkDisplayMovieIcons, 0, 14);
this.tlpMain.Controls.Add(this.chkAutoHideMenu, 0, 12);
this.tlpMain.Controls.Add(this.chkHidePauseOverlay, 0, 5);
this.tlpMain.Controls.Add(this.tableLayoutPanel5, 0, 17);
this.tlpMain.Controls.Add(this.tableLayoutPanel5, 0, 16);
this.tlpMain.Controls.Add(this.chkConfirmExitResetPower, 0, 13);
this.tlpMain.Controls.Add(this.flowLayoutPanel8, 0, 4);
this.tlpMain.Controls.Add(this.chkPauseOnMovieEnd, 0, 6);
@ -230,7 +228,7 @@ namespace Mesen.GUI.Forms.Config
this.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.tlpMain.Location = new System.Drawing.Point(3, 3);
this.tlpMain.Name = "tlpMain";
this.tlpMain.RowCount = 18;
this.tlpMain.RowCount = 17;
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
@ -246,24 +244,12 @@ namespace Mesen.GUI.Forms.Config
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tlpMain.Size = new System.Drawing.Size(483, 409);
this.tlpMain.TabIndex = 1;
//
// chkDeveloperMode
//
this.chkDeveloperMode.AutoSize = true;
this.chkDeveloperMode.Location = new System.Drawing.Point(13, 301);
this.chkDeveloperMode.Margin = new System.Windows.Forms.Padding(13, 3, 3, 3);
this.chkDeveloperMode.Name = "chkDeveloperMode";
this.chkDeveloperMode.Size = new System.Drawing.Size(138, 17);
this.chkDeveloperMode.TabIndex = 26;
this.chkDeveloperMode.Text = "Enable developer mode";
this.chkDeveloperMode.UseVisualStyleBackColor = true;
//
// lblPauseBackgroundSettings
//
this.lblPauseBackgroundSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@ -540,7 +526,7 @@ namespace Mesen.GUI.Forms.Config
this.tpgShortcuts.Location = new System.Drawing.Point(4, 22);
this.tpgShortcuts.Name = "tpgShortcuts";
this.tpgShortcuts.Padding = new System.Windows.Forms.Padding(3);
this.tpgShortcuts.Size = new System.Drawing.Size(489, 420);
this.tpgShortcuts.Size = new System.Drawing.Size(489, 415);
this.tpgShortcuts.TabIndex = 7;
this.tpgShortcuts.Text = "Shortcut Keys";
this.tpgShortcuts.UseVisualStyleBackColor = true;
@ -550,7 +536,7 @@ namespace Mesen.GUI.Forms.Config
this.ctrlEmulatorShortcuts.Dock = System.Windows.Forms.DockStyle.Fill;
this.ctrlEmulatorShortcuts.Location = new System.Drawing.Point(3, 3);
this.ctrlEmulatorShortcuts.Name = "ctrlEmulatorShortcuts";
this.ctrlEmulatorShortcuts.Size = new System.Drawing.Size(483, 414);
this.ctrlEmulatorShortcuts.Size = new System.Drawing.Size(483, 409);
this.ctrlEmulatorShortcuts.TabIndex = 0;
//
// tpgSaveData
@ -559,7 +545,7 @@ namespace Mesen.GUI.Forms.Config
this.tpgSaveData.Location = new System.Drawing.Point(4, 22);
this.tpgSaveData.Name = "tpgSaveData";
this.tpgSaveData.Padding = new System.Windows.Forms.Padding(3);
this.tpgSaveData.Size = new System.Drawing.Size(489, 420);
this.tpgSaveData.Size = new System.Drawing.Size(489, 415);
this.tpgSaveData.TabIndex = 3;
this.tpgSaveData.Text = "Save Data";
this.tpgSaveData.UseVisualStyleBackColor = true;
@ -576,7 +562,7 @@ namespace Mesen.GUI.Forms.Config
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(483, 414);
this.tableLayoutPanel3.Size = new System.Drawing.Size(483, 409);
this.tableLayoutPanel3.TabIndex = 1;
//
// grpCloudSaves
@ -585,7 +571,7 @@ namespace Mesen.GUI.Forms.Config
this.grpCloudSaves.Dock = System.Windows.Forms.DockStyle.Fill;
this.grpCloudSaves.Location = new System.Drawing.Point(3, 99);
this.grpCloudSaves.Name = "grpCloudSaves";
this.grpCloudSaves.Size = new System.Drawing.Size(477, 312);
this.grpCloudSaves.Size = new System.Drawing.Size(477, 307);
this.grpCloudSaves.TabIndex = 2;
this.grpCloudSaves.TabStop = false;
this.grpCloudSaves.Text = "Cloud Saves";
@ -602,7 +588,7 @@ namespace Mesen.GUI.Forms.Config
this.tlpCloudSaves.RowCount = 2;
this.tlpCloudSaves.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpCloudSaves.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tlpCloudSaves.Size = new System.Drawing.Size(471, 293);
this.tlpCloudSaves.Size = new System.Drawing.Size(471, 288);
this.tlpCloudSaves.TabIndex = 0;
//
// tlpCloudSaveDesc
@ -872,7 +858,7 @@ namespace Mesen.GUI.Forms.Config
this.tpgFdsNfs.Location = new System.Drawing.Point(4, 22);
this.tpgFdsNfs.Name = "tpgFdsNfs";
this.tpgFdsNfs.Padding = new System.Windows.Forms.Padding(3);
this.tpgFdsNfs.Size = new System.Drawing.Size(489, 420);
this.tpgFdsNfs.Size = new System.Drawing.Size(489, 415);
this.tpgFdsNfs.TabIndex = 4;
this.tpgFdsNfs.Text = "FDS / NSF";
this.tpgFdsNfs.UseVisualStyleBackColor = true;
@ -908,7 +894,7 @@ namespace Mesen.GUI.Forms.Config
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(483, 414);
this.tableLayoutPanel2.Size = new System.Drawing.Size(483, 409);
this.tableLayoutPanel2.TabIndex = 0;
//
// flowLayoutPanel10
@ -1193,7 +1179,7 @@ namespace Mesen.GUI.Forms.Config
this.tpgFiles.Location = new System.Drawing.Point(4, 22);
this.tpgFiles.Name = "tpgFiles";
this.tpgFiles.Padding = new System.Windows.Forms.Padding(3);
this.tpgFiles.Size = new System.Drawing.Size(489, 420);
this.tpgFiles.Size = new System.Drawing.Size(489, 415);
this.tpgFiles.TabIndex = 2;
this.tpgFiles.Text = "Folders/Files";
this.tpgFiles.UseVisualStyleBackColor = true;
@ -1214,7 +1200,7 @@ namespace Mesen.GUI.Forms.Config
this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel6.Size = new System.Drawing.Size(483, 414);
this.tableLayoutPanel6.Size = new System.Drawing.Size(483, 409);
this.tableLayoutPanel6.TabIndex = 13;
//
// grpPathOverrides
@ -1663,7 +1649,7 @@ namespace Mesen.GUI.Forms.Config
this.tpgAdvanced.Location = new System.Drawing.Point(4, 22);
this.tpgAdvanced.Name = "tpgAdvanced";
this.tpgAdvanced.Padding = new System.Windows.Forms.Padding(3);
this.tpgAdvanced.Size = new System.Drawing.Size(489, 420);
this.tpgAdvanced.Size = new System.Drawing.Size(489, 415);
this.tpgAdvanced.TabIndex = 1;
this.tpgAdvanced.Text = "Advanced";
this.tpgAdvanced.UseVisualStyleBackColor = true;
@ -1709,7 +1695,7 @@ namespace Mesen.GUI.Forms.Config
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(483, 414);
this.tableLayoutPanel1.Size = new System.Drawing.Size(483, 409);
this.tableLayoutPanel1.TabIndex = 0;
//
// chkDisableHighResolutionTimer
@ -2137,7 +2123,6 @@ namespace Mesen.GUI.Forms.Config
private ctrlPathSelection psScreenshots;
private ctrlPathSelection psAvi;
private System.Windows.Forms.CheckBox chkConfirmExitResetPower;
private System.Windows.Forms.CheckBox chkDeveloperMode;
private ctrlPathSelection psGame;
private System.Windows.Forms.CheckBox chkGameOverride;
private System.Windows.Forms.CheckBox chkAlwaysOnTop;

View file

@ -28,8 +28,7 @@ namespace Mesen.GUI.Forms.Config
AddBinding("AutomaticallyCheckForUpdates", chkAutomaticallyCheckForUpdates);
AddBinding("SingleInstance", chkSingleInstance);
AddBinding("AutoLoadIpsPatches", chkAutoLoadIps);
AddBinding("DeveloperMode", chkDeveloperMode);
AddBinding("AssociateNesFiles", chkNesFormat);
AddBinding("AssociateFdsFiles", chkFdsFormat);
AddBinding("AssociateMmoFiles", chkMmoFormat);

View file

@ -185,7 +185,6 @@ namespace Mesen.GUI.Forms
this.mnuRunAllTests = new System.Windows.Forms.ToolStripMenuItem();
this.mnuRunAllGameTests = new System.Windows.Forms.ToolStripMenuItem();
this.mnuRunAutomaticTest = new System.Windows.Forms.ToolStripMenuItem();
this.mnuDebugger = new System.Windows.Forms.ToolStripMenuItem();
this.mnuLogWindow = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem27 = new System.Windows.Forms.ToolStripSeparator();
this.mnuInstallHdPack = new System.Windows.Forms.ToolStripMenuItem();
@ -196,7 +195,7 @@ namespace Mesen.GUI.Forms
this.mnuDebug = new System.Windows.Forms.ToolStripMenuItem();
this.mnuApuViewer = new System.Windows.Forms.ToolStripMenuItem();
this.mnuAssembler = new System.Windows.Forms.ToolStripMenuItem();
this.mnuDebugDebugger = new System.Windows.Forms.ToolStripMenuItem();
this.mnuDebugger = new System.Windows.Forms.ToolStripMenuItem();
this.mnuEventViewer = new System.Windows.Forms.ToolStripMenuItem();
this.mnuMemoryViewer = new System.Windows.Forms.ToolStripMenuItem();
this.mnuProfiler = new System.Windows.Forms.ToolStripMenuItem();
@ -1184,7 +1183,6 @@ namespace Mesen.GUI.Forms
this.mnuVideoRecorder,
this.toolStripMenuItem12,
this.mnuTests,
this.mnuDebugger,
this.mnuLogWindow,
this.toolStripMenuItem27,
this.mnuInstallHdPack,
@ -1507,14 +1505,6 @@ namespace Mesen.GUI.Forms
this.mnuRunAutomaticTest.Text = "Run automatic test";
this.mnuRunAutomaticTest.Click += new System.EventHandler(this.mnuRunAutomaticTest_Click);
//
// mnuDebugger
//
this.mnuDebugger.Image = global::Mesen.GUI.Properties.Resources.Bug;
this.mnuDebugger.Name = "mnuDebugger";
this.mnuDebugger.Size = new System.Drawing.Size(182, 22);
this.mnuDebugger.Text = "Debugger";
this.mnuDebugger.Click += new System.EventHandler(this.mnuDebugger_Click);
//
// mnuLogWindow
//
this.mnuLogWindow.Image = global::Mesen.GUI.Properties.Resources.LogWindow;
@ -1568,7 +1558,7 @@ namespace Mesen.GUI.Forms
this.mnuDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuApuViewer,
this.mnuAssembler,
this.mnuDebugDebugger,
this.mnuDebugger,
this.mnuEventViewer,
this.mnuMemoryViewer,
this.mnuProfiler,
@ -1606,13 +1596,13 @@ namespace Mesen.GUI.Forms
this.mnuAssembler.Text = "Assembler";
this.mnuAssembler.Click += new System.EventHandler(this.mnuAssembler_Click);
//
// mnuDebugDebugger
// mnuDebugger
//
this.mnuDebugDebugger.Image = global::Mesen.GUI.Properties.Resources.Bug;
this.mnuDebugDebugger.Name = "mnuDebugDebugger";
this.mnuDebugDebugger.Size = new System.Drawing.Size(258, 22);
this.mnuDebugDebugger.Text = "Debugger";
this.mnuDebugDebugger.Click += new System.EventHandler(this.mnuDebugDebugger_Click);
this.mnuDebugger.Image = global::Mesen.GUI.Properties.Resources.Bug;
this.mnuDebugger.Name = "mnuDebugger";
this.mnuDebugger.Size = new System.Drawing.Size(258, 22);
this.mnuDebugger.Text = "Debugger";
this.mnuDebugger.Click += new System.EventHandler(this.mnuDebugger_Click);
//
// mnuEventViewer
//
@ -1872,7 +1862,6 @@ namespace Mesen.GUI.Forms
private System.Windows.Forms.ToolStripMenuItem mnuProfile;
private System.Windows.Forms.ToolStripMenuItem mnuMovies;
private System.Windows.Forms.ToolStripMenuItem mnuPlayMovie;
private System.Windows.Forms.ToolStripMenuItem mnuDebugger;
private System.Windows.Forms.ToolStripMenuItem mnuTakeScreenshot;
private System.Windows.Forms.ToolStripMenuItem mnuRecordMovie;
private System.Windows.Forms.ToolStripMenuItem mnuStopMovie;
@ -2006,7 +1995,7 @@ namespace Mesen.GUI.Forms
private System.Windows.Forms.ToolStripMenuItem mnuHdPackEditor;
private System.Windows.Forms.ToolStripMenuItem mnuDebug;
private System.Windows.Forms.ToolStripMenuItem mnuAssembler;
private System.Windows.Forms.ToolStripMenuItem mnuDebugDebugger;
private System.Windows.Forms.ToolStripMenuItem mnuDebugger;
private System.Windows.Forms.ToolStripMenuItem mnuMemoryViewer;
private System.Windows.Forms.ToolStripMenuItem mnuPpuViewer;
private System.Windows.Forms.ToolStripMenuItem mnuTraceLogger;

View file

@ -370,11 +370,6 @@ namespace Mesen.GUI.Forms
DebugWindowManager.OpenDebugWindow(DebugWindow.Debugger);
}
private void mnuDebugDebugger_Click(object sender, EventArgs e)
{
DebugWindowManager.OpenDebugWindow(DebugWindow.Debugger);
}
private void mnuMemoryViewer_Click(object sender, EventArgs e)
{
DebugWindowManager.OpenDebugWindow(DebugWindow.MemoryViewer);

View file

@ -867,7 +867,6 @@ namespace Mesen.GUI.Forms
BindShortcut(mnuTakeScreenshot, EmulatorShortcut.TakeScreenshot, runningNotNsf);
BindShortcut(mnuRandomGame, EmulatorShortcut.LoadRandomGame);
mnuDebugDebugger.InitShortcut(this, nameof(DebuggerShortcutsConfig.OpenDebugger));
mnuDebugger.InitShortcut(this, nameof(DebuggerShortcutsConfig.OpenDebugger));
mnuApuViewer.InitShortcut(this, nameof(DebuggerShortcutsConfig.OpenApuViewer));
mnuAssembler.InitShortcut(this, nameof(DebuggerShortcutsConfig.OpenAssembler));
@ -1119,8 +1118,6 @@ namespace Mesen.GUI.Forms
this.BeginInvoke((MethodInvoker)(() => this.UpdateMenus()));
} else {
bool running = _emuThread != null;
bool devMode = ConfigManager.Config.PreferenceInfo.DeveloperMode;
mnuDebug.Visible = devMode;
panelInfo.Visible = !running;
@ -1209,9 +1206,7 @@ namespace Mesen.GUI.Forms
mnuStartRecordTapeFile.Enabled = !tapeRecording && !isNetPlayClient;
mnuStopRecordTapeFile.Enabled = tapeRecording;
mnuDebugger.Visible = !devMode;
mnuDebugger.Enabled = !devMode && running;
mnuDebugDebugger.Enabled = devMode && running;
mnuDebugger.Enabled = running;
mnuApuViewer.Enabled = running;
mnuAssembler.Enabled = running;
mnuMemoryViewer.Enabled = running;

View file

@ -1640,8 +1640,6 @@ namespace Mesen.GUI
PauseOnMovieEnd = 0x0100,
DeveloperMode = 0x0200,
AllowBackgroundInput = 0x0400,
ReduceSoundInBackground = 0x0800,
MuteSoundInBackground = 0x1000,