oops, forgot to check this in last commit

This commit is contained in:
adelikat 2015-02-05 22:34:00 +00:00
parent 0eec6530f6
commit 0ae3ec18d8
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
private void SetControllerButtons()
{
ControllerDefinition = new ControllerDefinition();
ControllerDefinition.Name = "DualShock Controller"; //this is a poopy name.
ControllerDefinition.Name = _SyncSettings.Controllers.All(c => c.Type == ControllerSetting.ControllerType.Gamepad)
? "PSX Gamepad Controller"
: "PSX DualShock Controller"; // Meh, more nuanced logic doesn't really work with a simple property
ControllerDefinition.BoolButtons.Clear();
ControllerDefinition.FloatControls.Clear();