fix pc-fx controller name to match old name

This commit is contained in:
adelikat 2020-06-21 17:22:00 -05:00
parent 123f1b3c99
commit 29a492fc2a
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ namespace BizHawk.Client.EmuHawk
return new AnalogBindPanel(settings, buttons) { Dock = DockStyle.Fill, AutoScroll = true };
}
private static Regex ButtonMatchesPlayer = new Regex("^P(\\d+)\\s");
private static readonly Regex ButtonMatchesPlayer = new Regex("^P(\\d+)\\s");
private void LoadToPanel<T>(Control dest, string controllerName, IList<string> controllerButtons, Dictionary<string,string> categoryLabels, IDictionary<string, Dictionary<string, T>> settingsBlock, T defaultValue, PanelCreator<T> createPanel)
{

View File

@ -19,14 +19,14 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX
{
[CoreConstructor("PCFX")]
public Tst(CoreComm comm, NymaSettings settings, NymaSyncSettings syncSettings)
: base(comm, "PCFX", "PCFX Controller Deck", settings, syncSettings)
: base(comm, "PCFX", "PC-FX Controller", settings, syncSettings)
{
throw new InvalidOperationException("To load a PC-FX game, please load the CUE file and not the BIN file.");
}
public Tst(CoreComm comm, GameInfo game,
IEnumerable<Disc> disks, NymaSettings settings, NymaSyncSettings syncSettings, bool deterministic)
: base(comm, "PCFX", "PCFX Controller Deck", settings, syncSettings)
: base(comm, "PCFX", "PC-FX Controller", settings, syncSettings)
{
var firmwares = new Dictionary<string, (string, string)>
{