diff --git a/src/Ryujinx.Cpu/TickSource.cs b/src/Ryujinx.Cpu/TickSource.cs index a23e664968..d06644e565 100644 --- a/src/Ryujinx.Cpu/TickSource.cs +++ b/src/Ryujinx.Cpu/TickSource.cs @@ -22,9 +22,9 @@ namespace Ryujinx.Cpu { get { - long ElapsedTicks = _tickCounter.ElapsedTicks; - AcumElapsedTicks += (ElapsedTicks - LastElapsedTicks) * s_tickMultiplier / 100; - LastElapsedTicks = ElapsedTicks; + long elapsedTicks = _tickCounter.ElapsedTicks; + AcumElapsedTicks += (elapsedTicks - LastElapsedTicks) * s_tickMultiplier / 100; + LastElapsedTicks = elapsedTicks; return AcumElapsedTicks; } }