Changed the timing of merging Lua input to controllers. Now joypad.set stops altering autohold/autofire buttons.
This commit is contained in:
parent
957e882e2d
commit
d729403cca
|
@ -479,7 +479,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
(Global.Emulator is N64 && Global.Config.N64UseCircularAnalogConstraint) ? "Natural Circle" : null);
|
||||
|
||||
Global.ActiveController.OR_FromLogical(Global.ClickyVirtualPadController);
|
||||
Global.ActiveController.Overrides(Global.LuaAndAdaptor);
|
||||
Global.AutoFireController.LatchFromPhysical(Global.ControllerInputCoalescer);
|
||||
|
||||
if (Global.ClientControls["Autohold"])
|
||||
|
@ -492,6 +491,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
Global.AutofireStickyXORAdapter.MassToggleStickyState(Global.ActiveController.PressedButtons);
|
||||
}
|
||||
|
||||
// autohold/autofire must not be affected by the following inputs
|
||||
Global.ActiveController.Overrides(Global.LuaAndAdaptor);
|
||||
|
||||
if (GlobalWin.Tools.Has<LuaConsole>())
|
||||
{
|
||||
GlobalWin.Tools.LuaConsole.ResumeScripts(false);
|
||||
|
|
Loading…
Reference in New Issue