Explorar el Código

[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
TSRBerry hace 2 años
padre
commit
f6ada8d169
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Ryujinx.Graphics.Device/DeviceState.cs

+ 1 - 1
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;