mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-28 17:37:11 +02:00
stubs (#69)
This commit is contained in:
parent
21f6e3699e
commit
17d74d2643
8 changed files with 59 additions and 4 deletions
|
@ -117,6 +117,13 @@ namespace Ryujinx.Core.OsHle.Svc
|
|||
//TODO: Error codes.
|
||||
}
|
||||
|
||||
private void SvcGetCurrentProcessorNumber(AThreadState ThreadState)
|
||||
{
|
||||
KThread CurrThread = Process.GetThread(ThreadState.Tpidr);
|
||||
|
||||
ThreadState.X0 = (ulong)CurrThread.ProcessorId;
|
||||
}
|
||||
|
||||
private void SvcGetThreadId(AThreadState ThreadState)
|
||||
{
|
||||
int Handle = (int)ThreadState.X1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue