mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-15 19:37:05 +00:00
parent
85e05bc7b2
commit
f6adcd2f65
2 changed files with 0 additions and 8 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
||||||
public ulong AffinityMask { get; private set; }
|
public ulong AffinityMask { get; private set; }
|
||||||
|
|
||||||
public ulong ThreadUid { get; private set; }
|
public ulong ThreadUid { get; private set; }
|
||||||
|
|
||||||
public bool IsThreadNamed { get; set; }
|
|
||||||
|
|
||||||
private long _totalTimeRunning;
|
private long _totalTimeRunning;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue