Use the new C# 14 null propagation setter

This commit is contained in:
GreemDev
2025-11-19 20:09:08 -06:00
committed by KeatonTheBot
parent b7c13715f1
commit e349ef72fb
13 changed files with 33 additions and 123 deletions
@@ -177,10 +177,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
if (previousThread != nextThread)
{
if (previousThread != null)
{
previousThread.LastScheduledTime = PerformanceCounter.ElapsedTicks;
}
previousThread?.LastScheduledTime = PerformanceCounter.ElapsedTicks;
_state.SelectedThread = nextThread;
_state.NeedsScheduling = true;