Fix code style and increase SA1121 level to error

This commit is contained in:
YoshiRulz 2021-08-02 19:17:31 +10:00
parent ee1dc3dba7
commit 04bf9d0ec2
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 4 additions and 1 deletions

View File

@ -401,6 +401,9 @@
<!-- Comments should contain text -->
<Rule Id="SA1120" Action="Hidden" />
<!-- Use built-in type alias -->
<Rule Id="SA1121" Action="Error" />
<!-- Use string.Empty for empty strings -->
<Rule Id="SA1122" Action="Hidden" />

View File

@ -311,7 +311,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
}
// needs to match the reverse order of Libgambatte's button enum
static readonly IReadOnlyList<String> BUTTON_ORDER_IN_BITMASK = new string[] { "Down", "Up", "Left", "Right", "Start", "Select", "B", "A" };
private static readonly IReadOnlyList<string> BUTTON_ORDER_IN_BITMASK = new[] { "Down", "Up", "Left", "Right", "Start", "Select", "B", "A" };
internal void FrameAdvancePrep(IController controller)
{