Hide D=>A TAStudio columns w/ Ares64, rename C* buttons in header

initial implementation by @thekovic
This commit is contained in:
YoshiRulz 2023-05-27 03:01:12 +10:00
parent 3d5b068c2f
commit fde16fa5a3
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 7 additions and 1 deletions

View File

@ -392,8 +392,14 @@ namespace BizHawk.Client.EmuHawk
|| c.Name.EndsWith("Block")
|| c.Name.EndsWith("Status"));
if (Emulator is N64)
if (Emulator.SystemId is VSystemID.Raw.N64)
{
foreach (var c in TasView.AllColumns
.Where(static c => c.Name.EndsWith(" C Up") || c.Name.EndsWith(" C Down")
|| c.Name.EndsWith(" C Left") || c.Name.EndsWith(" C Right")))
{
c.Text = $"c{c.Text.ToUpperInvariant()}"; // prepend 'c' to differentiate from L/R buttons -- only affects table header
}
var fakeAnalogControls = TasView.AllColumns
.Where(c =>
c.Name.EndsWith("A Up")