From 2dd618b6f276d1566497cce00aa0fc82ea1866ec Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 13 Jun 2020 15:21:52 -0500 Subject: [PATCH] PCFX - remap some buttons, add (bad) mnemonics for mode buttons --- .../movie/bk2/Bk2MnemonicLookup.cs | 4 ++++ src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs b/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs index 3c8d293ee4..be890087ac 100644 --- a/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs +++ b/src/BizHawk.Client.Common/movie/bk2/Bk2MnemonicLookup.cs @@ -444,6 +444,10 @@ namespace BizHawk.Client.Common ["IV"] = '4', ["V"] = '5', ["VI"] = '6', + ["MODE 1: Set A"] = 'a', + ["MODE 1: Set B"] = 'b', + ["MODE 2: Set A"] = 'A', + ["MODE 2: Set B"] = 'B' }, ["PCE"] = new Dictionary { diff --git a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs index 434894ad04..c0e4ff1743 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/NEC/PCFX/Tst.cs @@ -49,5 +49,15 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX { "pcfx.slstart", "pcfx.slend", }; + + protected override IDictionary ButtonNameOverrides { get; } = new Dictionary + { + ["UP ↑"] = "Up", + ["DOWN ↓"] = "Down", + ["LEFT ←"] = "Left", + ["RIGHT →"] = "Right", + ["SELECT"] = "Select", + ["RUN"] = "Run" + }; } }