Implement SvcGetThreadContext3 on SvcThread
This commit is contained in:
parent
518fe799da
commit
eee242ee13
2 changed files with 12 additions and 1 deletions
|
@ -72,7 +72,8 @@ namespace Ryujinx.Core.OsHle.Kernel
|
|||
{ 0x29, SvcGetInfo },
|
||||
{ 0x2c, SvcMapPhysicalMemory },
|
||||
{ 0x2d, SvcUnmapPhysicalMemory },
|
||||
{ 0x32, SvcSetThreadActivity }
|
||||
{ 0x32, SvcSetThreadActivity },
|
||||
{ 0x33, SvcGetThreadContext3 }
|
||||
};
|
||||
|
||||
this.Ns = Ns;
|
||||
|
|
|
@ -287,5 +287,15 @@ namespace Ryujinx.Core.OsHle.Kernel
|
|||
ThreadState.X0 = MakeError(ErrorModule.Kernel, KernelErr.InvalidHandle);
|
||||
}
|
||||
}
|
||||
|
||||
private void SvcGetThreadContext3(AThreadState ThreadState)
|
||||
{
|
||||
int Handle = (int)ThreadState.X0;
|
||||
long ThreadContext = (long)ThreadState.X1;
|
||||
|
||||
Ns.Log.PrintStub(LogClass.KernelSvc, "Stubbed. - " + ThreadContext);
|
||||
|
||||
ThreadState.X0 = 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue