Add a hotkey to toggle the Skip Lag Frames option

This commit is contained in:
adelikat 2017-01-29 18:33:19 -06:00
parent 36f53116b1
commit af1a2547ae
2 changed files with 5 additions and 0 deletions

View File

@ -152,6 +152,7 @@ namespace BizHawk.Client.Common
Bind("General", "Exit Program"),
Bind("General", "Screen Raw to Clipboard", "Ctrl+C"),
Bind("General", "Screen Client to Clipboard", "Ctrl+Shift+C"),
Bind("General", "Toggle Skip Lag Frame"),
Bind("Save States", "Save State 0", "Shift+F10"),
Bind("Save States", "Save State 1", "Shift+F1"),

View File

@ -115,6 +115,10 @@ namespace BizHawk.Client.EmuHawk
case "Reboot Core":
RebootCore();
break;
case "Toggle Skip Lag Frame":
Global.Config.SkipLagFrame ^= true;
GlobalWin.OSD.AddMessage("Skip Lag Frames toggled " + (Global.Config.SkipLagFrame ? "On" : "Off"));
break;
// Save States
case "Save State 0":