mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-26 20:10:08 +02:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -253,7 +253,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
||||
|
||||
thread.SiblingsPerCore[core] = queue.AddLast(thread);
|
||||
|
||||
return queue.First.Value;
|
||||
return queue.First?.Value;
|
||||
}
|
||||
|
||||
public void Unschedule(int prio, int core, KThread thread)
|
||||
|
||||
Reference in New Issue
Block a user