From bd91d6efd7a3f353f6b88fd241d0c7d8042e0bf4 Mon Sep 17 00:00:00 2001 From: Marco Carvalho Date: Tue, 3 Dec 2024 13:00:08 -0300 Subject: [PATCH] add suggestion --- src/Ryujinx.HLE/PerformanceStatistics.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.HLE/PerformanceStatistics.cs b/src/Ryujinx.HLE/PerformanceStatistics.cs index 9de0cdff2..890bce8bc 100644 --- a/src/Ryujinx.HLE/PerformanceStatistics.cs +++ b/src/Ryujinx.HLE/PerformanceStatistics.cs @@ -21,8 +21,8 @@ namespace Ryujinx.HLE private readonly long[] _framesRendered; private readonly double[] _percentTime; - private readonly Lock[] _frameLock = new[] { new Lock() }; - private readonly Lock[] _percentLock = new[] { new Lock() }; + private readonly Lock[] _frameLock = [new()]; + private readonly Lock[] _percentLock = [new()]; private readonly double _ticksToSeconds;