mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 13:37:08 +00:00
TODO: Fix build error in KScheduler
This commit is contained in:
parent
ab01278695
commit
fe6809c651
1 changed files with 6 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue