Remove old ControllerDef copying that was messing with ControlsOrdered

This commit is contained in:
YoshiRulz 2022-11-03 10:49:42 +10:00
parent a8f571f2d6
commit 781c152bf6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 0 additions and 5 deletions

View File

@ -64,11 +64,6 @@ namespace BizHawk.Client.Common
ActiveController = BindToDefinition(def, config.AllTrollers, config.AllTrollersAnalog, config.AllTrollersFeedbacks);
AutoFireController = BindToDefinitionAF(emulator, config.AllTrollersAutoFire, config.AutofireOn, config.AutofireOff);
// allow propagating controls that are in the current controller definition but not in the prebaked one
// these two lines shouldn't be required anymore under the new system?
ActiveController.ForceType(new ControllerDefinition(def));
ClickyVirtualPadController.Definition = new ControllerDefinition(def);
// Wire up input chain
UdLRControllerAdapter.Source = ActiveController.Or(AutoFireController);