* don't clear ControllerInputCoalescer when rewiring input. it just collects physical input, there is no reason to unpress it. if you're holding a button, you want it held. the only exceptions would be in case a hotkey and controller input collided, in which case a prior hotkey press (which caused a rom to open or close) would then get handled as a controller input. this could be solved in some other way, probably (unpress hotkeys as soon as received?)
* resync controls after CloseRom fixes #2453
This commit is contained in:
parent
35dadd75e6
commit
447ae737f3
|
@ -57,7 +57,6 @@ namespace BizHawk.Client.Common
|
|||
ClickyVirtualPadController.Definition = new ControllerDefinition(def);
|
||||
|
||||
// Wire up input chain
|
||||
ControllerInputCoalescer.Clear();
|
||||
ControllerInputCoalescer.Definition = ActiveController.Definition;
|
||||
|
||||
UdLRControllerAdapter.Source = ActiveController.Or(AutoFireController);
|
||||
|
|
|
@ -3900,6 +3900,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Tools.Restart(Emulator, Game);
|
||||
RewireSound();
|
||||
ClearHolds();
|
||||
InputManager.SyncControls(Emulator, MovieSession, Config);
|
||||
Tools.UpdateCheatRelatedTools(null, null);
|
||||
PauseOnFrame = null;
|
||||
CurrentlyOpenRom = null;
|
||||
|
|
Loading…
Reference in New Issue