diff --git a/Ryujinx.HLE/OsHle/Kernel/SvcHandler.cs b/Ryujinx.HLE/OsHle/Kernel/SvcHandler.cs index f3a5fae03a..5b6279e3d6 100644 --- a/Ryujinx.HLE/OsHle/Kernel/SvcHandler.cs +++ b/Ryujinx.HLE/OsHle/Kernel/SvcHandler.cs @@ -72,7 +72,8 @@ namespace Ryujinx.HLE.OsHle.Kernel { 0x29, SvcGetInfo }, { 0x2c, SvcMapPhysicalMemory }, { 0x2d, SvcUnmapPhysicalMemory }, - { 0x32, SvcSetThreadActivity } + { 0x32, SvcSetThreadActivity }, + { 0x33, SvcGetThreadContext3 } }; this.Ns = Ns; diff --git a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs b/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs index 4501867f42..a43ba6d654 100644 --- a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs +++ b/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs @@ -280,5 +280,15 @@ namespace Ryujinx.HLE.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; + } } } \ No newline at end of file