Intellivision - nitpick - let the controller deck assign Power and Reset
This commit is contained in:
parent
4b695e2820
commit
71f33e53f5
|
@ -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()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue