diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-06-25 23:58:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 23:58:44 +0200 |
commit | f6ada8d1697502a6b37192c9cf9a32acfa28b51a (patch) | |
tree | bb585d2a0c8100ac4ac8956460cd94a75509b1d3 | |
parent | 42d31f646dfe2dfc8ed646102c06ca44af7b8b07 (diff) |
[Ryujinx.Graphics.Device] Address dotnet-format issues (#5363)1.1.919
* dotnet format analyzers --serverity info
Some changes have been minimally adapted.
* Address most dotnet format whitespace warnings
* dotnet format whitespace after rebase
-rw-r--r-- | src/Ryujinx.Graphics.Device/DeviceState.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<TState>() + RegisterSize - 1) / RegisterSize; + private static uint Size => (uint)(Unsafe.SizeOf<TState>() + RegisterSize - 1) / RegisterSize; private readonly Func<int>[] _readCallbacks; private readonly Action<int>[] _writeCallbacks; |