diff --git a/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs b/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs index b804a0fb9..fba700aeb 100644 --- a/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs +++ b/src/ARMeilleure/Decoders/Optimizations/TailCallRemover.cs @@ -69,7 +69,7 @@ namespace ARMeilleure.Decoders.Optimizations } } - List newBlocks = new (blocks.Count); + List newBlocks = new(blocks.Count); // Finally, rebuild decoded block list, ignoring blocks outside the contiguous range. for (int i = 0; i < blocks.Count; i++) diff --git a/src/ARMeilleure/Instructions/InstEmitSimdMove32.cs b/src/ARMeilleure/Instructions/InstEmitSimdMove32.cs index a39f8c639..38f9cbbb1 100644 --- a/src/ARMeilleure/Instructions/InstEmitSimdMove32.cs +++ b/src/ARMeilleure/Instructions/InstEmitSimdMove32.cs @@ -277,7 +277,7 @@ namespace ARMeilleure.Instructions { int elems = op.GetBytesCount() >> op.Size; - (int Qx, int Ix)[] tableTuples = new (int, int)[length]; + (int Qx, int Ix)[] tableTuples = new(int, int)[length]; for (int i = 0; i < length; i++) { tableTuples[i] = GetQuadwordAndSubindex(op.Vn + i, op.RegisterSize); diff --git a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheGuestStorage.cs b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheGuestStorage.cs index ed32faae9..b9e2afb06 100644 --- a/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheGuestStorage.cs +++ b/src/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheGuestStorage.cs @@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache { if (_cache == null || index >= _cache.Length) { - _cache = new (byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))]; + _cache = new(byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))]; } (byte[] guestCode, byte[] cb1Data) = _cache[index]; diff --git a/src/Ryujinx.HLE/HOS/ModLoader.cs b/src/Ryujinx.HLE/HOS/ModLoader.cs index dabeafc2d..bfe2af223 100644 --- a/src/Ryujinx.HLE/HOS/ModLoader.cs +++ b/src/Ryujinx.HLE/HOS/ModLoader.cs @@ -752,7 +752,7 @@ namespace Ryujinx.HLE.HOS patches[i] = new MemPatch(); } - List buildIds = new (programs.Length); + List buildIds = new(programs.Length); foreach (IExecutable p in programs) {