Fix code style and increase SA1121 level to error
This commit is contained in:
parent
ee1dc3dba7
commit
04bf9d0ec2
|
@ -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" />
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue