bind a hotkey to flush sram
This commit is contained in:
parent
07a8c2c027
commit
0db0c4eccf
|
@ -132,6 +132,7 @@ namespace BizHawk.Client.Common
|
|||
Bind("General", "Open ROM", "Ctrl+O"),
|
||||
Bind("General", "Close ROM", "Ctrl+W"),
|
||||
Bind("General", "Load Last ROM"),
|
||||
Bind("General", "Flush SRAM", "Ctrl+S"),
|
||||
Bind("General", "Display FPS"),
|
||||
Bind("General", "Frame Counter"),
|
||||
Bind("General", "Lag Counter"),
|
||||
|
|
|
@ -894,6 +894,7 @@
|
|||
this.SaveRAMSubMenu.Name = "SaveRAMSubMenu";
|
||||
this.SaveRAMSubMenu.Size = new System.Drawing.Size(159, 22);
|
||||
this.SaveRAMSubMenu.Text = "Save &RAM";
|
||||
this.SaveRAMSubMenu.DropDownOpened += new System.EventHandler(this.SaveRAMSubMenu_DropDownOpened);
|
||||
//
|
||||
// FlushSaveRAMMenuItem
|
||||
//
|
||||
|
|
|
@ -2178,6 +2178,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
SaveRam();
|
||||
}
|
||||
|
||||
private void SaveRAMSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
this.FlushSaveRAMMenuItem.ShortcutKeyDisplayString = Global.Config.HotkeyBindings["Save SRAM"].Bindings;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Coleco
|
||||
|
|
|
@ -63,6 +63,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
case "Load Last ROM":
|
||||
LoadRomFromRecent(Global.Config.RecentRoms.MostRecent);
|
||||
break;
|
||||
case "Flush SRAM":
|
||||
SaveRam();
|
||||
break;
|
||||
case "Display FPS":
|
||||
ToggleFPS();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue