From f6ada8d1697502a6b37192c9cf9a32acfa28b51a Mon Sep 17 00:00:00 2001 From: TSRBerry <20988865+TSRBerry@users.noreply.github.com> Date: Sun, 25 Jun 2023 23:58:44 +0200 Subject: [PATCH] [Ryujinx.Graphics.Device] Address dotnet-format issues (#5363) * dotnet format analyzers --serverity info Some changes have been minimally adapted. * Address most dotnet format whitespace warnings * dotnet format whitespace after rebase --- src/Ryujinx.Graphics.Device/DeviceState.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Device/DeviceState.cs b/src/Ryujinx.Graphics.Device/DeviceState.cs index a9b446e1..b07582a8 100644 --- a/src/Ryujinx.Graphics.Device/DeviceState.cs +++ b/src/Ryujinx.Graphics.Device/DeviceState.cs @@ -13,7 +13,7 @@ namespace Ryujinx.Graphics.Device public TState State; - private uint Size => (uint)(Unsafe.SizeOf() + RegisterSize - 1) / RegisterSize; + private static uint Size => (uint)(Unsafe.SizeOf() + RegisterSize - 1) / RegisterSize; private readonly Func[] _readCallbacks; private readonly Action[] _writeCallbacks;