mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Set PC value on SvcCall aswell
This commit is contained in:
1 parent
65105c2a3b
commit
2f29894d9f
1 file changed
+2
@@ -94,6 +94,8 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
|||||||
{
|
{
|
||||||
AThreadState ThreadState = (AThreadState)sender;
|
AThreadState ThreadState = (AThreadState)sender;
|
||||||
|
|
||||||
|
Process.GetThread(ThreadState.Tpidr).LastPc = e.Position;
|
||||||
|
|
||||||
if (SvcFuncs.TryGetValue(e.Id, out SvcFunc Func))
|
if (SvcFuncs.TryGetValue(e.Id, out SvcFunc Func))
|
||||||
{
|
{
|
||||||
Ns.Log.PrintDebug(LogClass.KernelSvc, $"{Func.Method.Name} called.");
|
Ns.Log.PrintDebug(LogClass.KernelSvc, $"{Func.Method.Name} called.");
|
||||||
|
|||||||
Reference in new issue
Block a user