don't expose not fully functional controllers in stella
This commit is contained in:
parent
5b74211460
commit
d9b3728365
|
@ -53,10 +53,10 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
|
|||
{
|
||||
[Atari2600ControllerTypes.Unplugged] = portNum => new UnpluggedController(portNum),
|
||||
[Atari2600ControllerTypes.Joystick] = portNum => new StandardController(portNum),
|
||||
[Atari2600ControllerTypes.Paddle] = portNum => new PaddleController(portNum),
|
||||
[Atari2600ControllerTypes.BoostGrip] = portNum => new BoostGripController(portNum),
|
||||
//[Atari2600ControllerTypes.Paddle] = portNum => new PaddleController(portNum),
|
||||
//[Atari2600ControllerTypes.BoostGrip] = portNum => new BoostGripController(portNum),
|
||||
[Atari2600ControllerTypes.Driving] = portNum => new DrivingController(portNum),
|
||||
[Atari2600ControllerTypes.Keyboard] = portNum => new KeyboardController(portNum)
|
||||
//[Atari2600ControllerTypes.Keyboard] = portNum => new KeyboardController(portNum)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,10 +9,10 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
|
|||
{
|
||||
Unplugged,
|
||||
Joystick,
|
||||
Paddle,
|
||||
BoostGrip,
|
||||
//Paddle,
|
||||
//BoostGrip,
|
||||
Driving,
|
||||
Keyboard
|
||||
//Keyboard
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -305,11 +305,6 @@ namespace BizHawk.Emulation.Cores.Atari.Stella
|
|||
|
||||
public ControllerDefinition Definition { get; }
|
||||
|
||||
public void SyncState(Serializer ser)
|
||||
{
|
||||
// Nothing todo, I think
|
||||
}
|
||||
|
||||
public int PortNum { get; }
|
||||
|
||||
public byte Read(IController c)
|
||||
|
|
|
@ -78,10 +78,10 @@ namespace BizHawk.Emulation.Cores
|
|||
{
|
||||
StellaControllerTypes.Unplugged => null,
|
||||
StellaControllerTypes.Joystick => StandardController(controller),
|
||||
StellaControllerTypes.Paddle => PaddleController(controller),
|
||||
StellaControllerTypes.BoostGrip => BoostGripController(controller),
|
||||
//StellaControllerTypes.Paddle => PaddleController(controller),
|
||||
//StellaControllerTypes.BoostGrip => BoostGripController(controller),
|
||||
StellaControllerTypes.Driving => DrivingController(controller),
|
||||
StellaControllerTypes.Keyboard => KeyboardController(controller),
|
||||
//StellaControllerTypes.Keyboard => KeyboardController(controller),
|
||||
_ => null
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue