mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
@@ -293,12 +293,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
|||||||
KThread currentThread = KernelStatic.GetCurrentThread();
|
KThread currentThread = KernelStatic.GetCurrentThread();
|
||||||
KThread selectedThread = _state.SelectedThread;
|
KThread selectedThread = _state.SelectedThread;
|
||||||
|
|
||||||
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 the thread is already scheduled and running on the core, we have nothing to do.
|
||||||
if (currentThread == selectedThread)
|
if (currentThread == selectedThread)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
|||||||
|
|
||||||
public ulong ThreadUid { get; private set; }
|
public ulong ThreadUid { get; private set; }
|
||||||
|
|
||||||
public bool IsThreadNamed { get; set; }
|
|
||||||
|
|
||||||
private long _totalTimeRunning;
|
private long _totalTimeRunning;
|
||||||
|
|
||||||
public long TotalTimeRunning => _totalTimeRunning;
|
public long TotalTimeRunning => _totalTimeRunning;
|
||||||
|
|||||||
Reference in New Issue
Block a user