Add a hotkey to toggle the Skip Lag Frames option
This commit is contained in:
parent
36f53116b1
commit
af1a2547ae
|
@ -152,6 +152,7 @@ namespace BizHawk.Client.Common
|
||||||
Bind("General", "Exit Program"),
|
Bind("General", "Exit Program"),
|
||||||
Bind("General", "Screen Raw to Clipboard", "Ctrl+C"),
|
Bind("General", "Screen Raw to Clipboard", "Ctrl+C"),
|
||||||
Bind("General", "Screen Client to Clipboard", "Ctrl+Shift+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 0", "Shift+F10"),
|
||||||
Bind("Save States", "Save State 1", "Shift+F1"),
|
Bind("Save States", "Save State 1", "Shift+F1"),
|
||||||
|
|
|
@ -115,6 +115,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
case "Reboot Core":
|
case "Reboot Core":
|
||||||
RebootCore();
|
RebootCore();
|
||||||
break;
|
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
|
// Save States
|
||||||
case "Save State 0":
|
case "Save State 0":
|
||||||
|
|
Loading…
Reference in New Issue