Revert cleanup change in KScheduler.cs

From commit a7af26bc.
This commit is contained in:
KeatonTheBot 2025-10-25 17:43:55 -05:00
parent 2993dba583
commit 86f47b8333

View file

@ -296,7 +296,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
KThread currentThread = KernelStatic.GetCurrentThread();
KThread selectedThread = _state.SelectedThread;
if (!currentThread.IsThreadNamed && string.IsNullOrEmpty(currentThread.GetThreadName()))
if (!currentThread.IsThreadNamed && currentThread.GetThreadName() != "")
{
currentThread.HostThread.Name = $"<{currentThread.GetThreadName()}>";
currentThread.IsThreadNamed = true;