TODO: Fix build error in KScheduler

This commit is contained in:
BeZide93 2025-11-01 21:21:34 +01:00
parent ab01278695
commit fe6809c651

View file

@ -296,11 +296,12 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
KThread currentThread = KernelStatic.GetCurrentThread();
KThread selectedThread = _state.SelectedThread;
if (!currentThread.IsThreadNamed && currentThread.GetThreadName() != "")
{
currentThread.HostThread.Name = $"<{currentThread.GetThreadName()}>";
currentThread.IsThreadNamed = true;
}
// TODO fix building error CS1061
//if (!currentThread.IsThreadNamed && currentThread.GetThreadName() != "")
//{
// currentThread.HostThread.Name = $"<{currentThread.GetThreadName()}>";
// currentThread.IsThreadNamed = true;
//}
// If the thread is already scheduled and running on the core, we have nothing to do.
if (currentThread == selectedThread)