0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 23:05:46 +00:00

Set PC value on SvcCall aswell

This commit is contained in:
gdkchan 2018-06-26 01:14:18 -03:00
parent 65105c2a3b
commit 2f29894d9f

View file

@ -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.");