From efebd8f94de03ef5cab63803f0cf37fc39258682 Mon Sep 17 00:00:00 2001 From: jduncanator <1518948+jduncanator@users.noreply.github.com> Date: Fri, 15 Mar 2019 14:37:54 +1100 Subject: Print Guest Stack Trace in ServiceNotImplemented Exception (#650) * Print Guest Stack Trace in ServiceNotImplemented Exception * Remove PrintGuestStackTrace * Print Process Name and PID at the start of guest stack trace --- Ryujinx.HLE/HOS/ServiceCtx.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Ryujinx.HLE/HOS/ServiceCtx.cs') diff --git a/Ryujinx.HLE/HOS/ServiceCtx.cs b/Ryujinx.HLE/HOS/ServiceCtx.cs index af42d417..99b2d5af 100644 --- a/Ryujinx.HLE/HOS/ServiceCtx.cs +++ b/Ryujinx.HLE/HOS/ServiceCtx.cs @@ -2,6 +2,7 @@ using ChocolArm64.Memory; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Kernel.Ipc; using Ryujinx.HLE.HOS.Kernel.Process; +using Ryujinx.HLE.HOS.Kernel.Threading; using System.IO; namespace Ryujinx.HLE.HOS @@ -11,6 +12,7 @@ namespace Ryujinx.HLE.HOS public Switch Device { get; } public KProcess Process { get; } public MemoryManager Memory { get; } + public KThread Thread { get; } public KClientSession Session { get; } public IpcMessage Request { get; } public IpcMessage Response { get; } @@ -21,6 +23,7 @@ namespace Ryujinx.HLE.HOS Switch device, KProcess process, MemoryManager memory, + KThread thread, KClientSession session, IpcMessage request, IpcMessage response, @@ -30,6 +33,7 @@ namespace Ryujinx.HLE.HOS Device = device; Process = process; Memory = memory; + Thread = thread; Session = session; Request = request; Response = response; -- cgit v1.2.3