mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-24 06:00:07 +02:00
Use the new C# 14 null propagation setter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user