Intellivision - nitpick - let the controller deck assign Power and Reset

This commit is contained in:
adelikat 2017-04-23 12:41:11 -05:00
parent 4b695e2820
commit 71f33e53f5
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,11 @@ namespace BizHawk.Emulation.Cores.Intellivision
Name = "Intellivision Controller", Name = "Intellivision Controller",
BoolButtons = Port1.Definition.BoolButtons BoolButtons = Port1.Definition.BoolButtons
.Concat(Port2.Definition.BoolButtons) .Concat(Port2.Definition.BoolButtons)
.Concat(new[]
{
"Power",
"Reset"
})
.ToList() .ToList()
}; };

View File

@ -30,8 +30,6 @@ namespace BizHawk.Emulation.Cores.Intellivision
_syncSettings = (IntvSyncSettings)SyncSettings ?? new IntvSyncSettings(); _syncSettings = (IntvSyncSettings)SyncSettings ?? new IntvSyncSettings();
ControllerDeck = new IntellivisionControllerDeck(_syncSettings.Port1, _syncSettings.Port2); ControllerDeck = new IntellivisionControllerDeck(_syncSettings.Port1, _syncSettings.Port2);
ControllerDefinition.BoolButtons.Add("Power");
ControllerDefinition.BoolButtons.Add("Reset");
_cart = new Intellicart(); _cart = new Intellicart();
if (_cart.Parse(_rom) == -1) if (_cart.Parse(_rom) == -1)