Atari 7800 - support difficulty switches when using the default proline controller, fixes #726
This commit is contained in:
parent
b24eb2293f
commit
6b29c28d07
|
@ -151,6 +151,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
||||||
"Reset",
|
"Reset",
|
||||||
"Select",
|
"Select",
|
||||||
"Pause",
|
"Pause",
|
||||||
|
"Left Difficulty", // better not put P# on these as they might not correspond to player numbers
|
||||||
|
"Right Difficulty",
|
||||||
// ports
|
// ports
|
||||||
"P1 Up", "P1 Down", "P1 Left", "P1 Right", "P1 Trigger", "P1 Trigger 2",
|
"P1 Up", "P1 Down", "P1 Left", "P1 Right", "P1 Trigger", "P1 Trigger 2",
|
||||||
"P2 Up", "P2 Down", "P2 Left", "P2 Right", "P2 Trigger", "P2 Trigger 2"
|
"P2 Up", "P2 Down", "P2 Left", "P2 Right", "P2 Trigger", "P2 Trigger 2"
|
||||||
|
@ -225,6 +227,8 @@ namespace BizHawk.Emulation.Cores.Atari.Atari7800
|
||||||
s.RaiseInput(0, MachineInput.Reset, c["Reset"]);
|
s.RaiseInput(0, MachineInput.Reset, c["Reset"]);
|
||||||
s.RaiseInput(0, MachineInput.Select, c["Select"]);
|
s.RaiseInput(0, MachineInput.Select, c["Select"]);
|
||||||
s.RaiseInput(0, MachineInput.Color, c["Pause"]);
|
s.RaiseInput(0, MachineInput.Color, c["Pause"]);
|
||||||
|
s.RaiseInput(0, MachineInput.LeftDifficulty, c["Left Difficulty"]);
|
||||||
|
s.RaiseInput(0, MachineInput.RightDifficulty, c["Right Difficulty"]);
|
||||||
}
|
}
|
||||||
static void ConvertDirections(IController c, InputState s, int p)
|
static void ConvertDirections(IController c, InputState s, int p)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue