mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 21:16:39 +00:00
Set PC value on SvcCall aswell
This commit is contained in:
parent
65105c2a3b
commit
2f29894d9f
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
|||
{
|
||||
AThreadState ThreadState = (AThreadState)sender;
|
||||
|
||||
Process.GetThread(ThreadState.Tpidr).LastPc = e.Position;
|
||||
|
||||
if (SvcFuncs.TryGetValue(e.Id, out SvcFunc Func))
|
||||
{
|
||||
Ns.Log.PrintDebug(LogClass.KernelSvc, $"{Func.Method.Name} called.");
|
||||
|
|
Loading…
Reference in a new issue