diff --git a/BizHawk.Client.EmuHawk/MainForm.Designer.cs b/BizHawk.Client.EmuHawk/MainForm.Designer.cs index 34b314d77c..dcd93fb94d 100644 --- a/BizHawk.Client.EmuHawk/MainForm.Designer.cs +++ b/BizHawk.Client.EmuHawk/MainForm.Designer.cs @@ -238,9 +238,10 @@ this.GGGameGenieMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TI83SubMenu = new System.Windows.Forms.ToolStripMenuItem(); this.KeypadMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.LoadTIFileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); this.AutoloadKeypadMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.LoadTIFileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.paletteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.AtariSubMenu = new System.Windows.Forms.ToolStripMenuItem(); this.Atari2600DebuggerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator31 = new System.Windows.Forms.ToolStripSeparator(); @@ -356,7 +357,6 @@ this.ClearSRAMContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ShowMenuContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator(); this.ShowMenuContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.paletteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MainformMenu.SuspendLayout(); this.MainStatusBar.SuspendLayout(); this.MainFormContextMenu.SuspendLayout(); @@ -2147,6 +2147,13 @@ this.KeypadMenuItem.Text = "Keypad"; this.KeypadMenuItem.Click += new System.EventHandler(this.KeypadMenuItem_Click); // + // LoadTIFileMenuItem + // + this.LoadTIFileMenuItem.Name = "LoadTIFileMenuItem"; + this.LoadTIFileMenuItem.Size = new System.Drawing.Size(165, 22); + this.LoadTIFileMenuItem.Text = "Load TI File..."; + this.LoadTIFileMenuItem.Click += new System.EventHandler(this.LoadTIFileMenuItem_Click); + // // toolStripSeparator13 // this.toolStripSeparator13.Name = "toolStripSeparator13"; @@ -2161,12 +2168,12 @@ this.AutoloadKeypadMenuItem.Text = "Autoload Keypad"; this.AutoloadKeypadMenuItem.Click += new System.EventHandler(this.AutoloadKeypadMenuItem_Click); // - // LoadTIFileMenuItem + // paletteToolStripMenuItem // - this.LoadTIFileMenuItem.Name = "LoadTIFileMenuItem"; - this.LoadTIFileMenuItem.Size = new System.Drawing.Size(165, 22); - this.LoadTIFileMenuItem.Text = "Load TI File..."; - this.LoadTIFileMenuItem.Click += new System.EventHandler(this.LoadTIFileMenuItem_Click); + this.paletteToolStripMenuItem.Name = "paletteToolStripMenuItem"; + this.paletteToolStripMenuItem.Size = new System.Drawing.Size(165, 22); + this.paletteToolStripMenuItem.Text = "Palette..."; + this.paletteToolStripMenuItem.Click += new System.EventHandler(this.paletteToolStripMenuItem_Click); // // AtariSubMenu // @@ -2177,24 +2184,25 @@ this.AtariSubMenu.Name = "AtariSubMenu"; this.AtariSubMenu.Size = new System.Drawing.Size(44, 19); this.AtariSubMenu.Text = "&Atari"; + this.AtariSubMenu.DropDownOpened += new System.EventHandler(this.AtariSubMenu_DropDownOpened); // // Atari2600DebuggerMenuItem // this.Atari2600DebuggerMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Bug; this.Atari2600DebuggerMenuItem.Name = "Atari2600DebuggerMenuItem"; - this.Atari2600DebuggerMenuItem.Size = new System.Drawing.Size(126, 22); + this.Atari2600DebuggerMenuItem.Size = new System.Drawing.Size(152, 22); this.Atari2600DebuggerMenuItem.Text = "Debugger"; this.Atari2600DebuggerMenuItem.Click += new System.EventHandler(this.Atari2600DebuggerMenuItem_Click); // // toolStripSeparator31 // this.toolStripSeparator31.Name = "toolStripSeparator31"; - this.toolStripSeparator31.Size = new System.Drawing.Size(123, 6); + this.toolStripSeparator31.Size = new System.Drawing.Size(149, 6); // // AtariSettingsToolStripMenuItem // this.AtariSettingsToolStripMenuItem.Name = "AtariSettingsToolStripMenuItem"; - this.AtariSettingsToolStripMenuItem.Size = new System.Drawing.Size(126, 22); + this.AtariSettingsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.AtariSettingsToolStripMenuItem.Text = "Settings..."; this.AtariSettingsToolStripMenuItem.Click += new System.EventHandler(this.AtariSettingsToolStripMenuItem_Click); // @@ -3115,13 +3123,6 @@ this.ShowMenuContextMenuItem.Text = "Show Menu"; this.ShowMenuContextMenuItem.Click += new System.EventHandler(this.ShowMenuContextMenuItem_Click); // - // paletteToolStripMenuItem - // - this.paletteToolStripMenuItem.Name = "paletteToolStripMenuItem"; - this.paletteToolStripMenuItem.Size = new System.Drawing.Size(165, 22); - this.paletteToolStripMenuItem.Text = "Palette..."; - this.paletteToolStripMenuItem.Click += new System.EventHandler(this.paletteToolStripMenuItem_Click); - // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F); diff --git a/BizHawk.Client.EmuHawk/MainForm.Events.cs b/BizHawk.Client.EmuHawk/MainForm.Events.cs index b749c5c1b9..4bd37f57d8 100644 --- a/BizHawk.Client.EmuHawk/MainForm.Events.cs +++ b/BizHawk.Client.EmuHawk/MainForm.Events.cs @@ -1438,6 +1438,8 @@ namespace BizHawk.Client.EmuHawk toolStripSeparator31.Visible = false; } + + Atari2600DebuggerMenuItem.Enabled = !Global.MovieSession.Movie.IsActive; } private void Atari2600DebuggerMenuItem_Click(object sender, EventArgs e) diff --git a/BizHawk.Client.EmuHawk/tools/Atari2600/Atari2600Debugger.cs b/BizHawk.Client.EmuHawk/tools/Atari2600/Atari2600Debugger.cs index d7b30707f7..4d1bca591c 100644 --- a/BizHawk.Client.EmuHawk/tools/Atari2600/Atari2600Debugger.cs +++ b/BizHawk.Client.EmuHawk/tools/Atari2600/Atari2600Debugger.cs @@ -19,11 +19,13 @@ namespace BizHawk.Client.EmuHawk // Consider how to handle trace logger (the two will compete with each other with the TakeContents() method) // Step Into // Step Out - // Step - // Advance 1 scanline? // Settable registers, also implement in lua // Breakpoints - Double click toggle, Delete to remove // Save breakpoints to file? + // Video Frame advance + // Update on load + // Add to toolbox + private Atari2600 _core = Global.Emulator as Atari2600; private readonly List _instructions = new List();