aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Core/OsHle/Kernel')
-rw-r--r--Ryujinx.Core/OsHle/Kernel/SvcHandler.cs2
-rw-r--r--Ryujinx.Core/OsHle/Kernel/SvcSystem.cs7
2 files changed, 8 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Kernel/SvcHandler.cs b/Ryujinx.Core/OsHle/Kernel/SvcHandler.cs
index c74da061..25d2767e 100644
--- a/Ryujinx.Core/OsHle/Kernel/SvcHandler.cs
+++ b/Ryujinx.Core/OsHle/Kernel/SvcHandler.cs
@@ -93,6 +93,8 @@ namespace Ryujinx.Core.OsHle.Kernel
}
else
{
+ Process.PrintStackTrace(ThreadState);
+
throw new NotImplementedException(e.Id.ToString("x4"));
}
}
diff --git a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
index 48e8ce38..056b5059 100644
--- a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
+++ b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
@@ -211,6 +211,8 @@ namespace Ryujinx.Core.OsHle.Kernel
long Unknown = (long)ThreadState.X1;
long Info = (long)ThreadState.X2;
+ Process.PrintStackTrace(ThreadState);
+
throw new GuestBrokeExecutionException();
}
@@ -297,7 +299,10 @@ namespace Ryujinx.Core.OsHle.Kernel
ThreadState.X1 = MemoryRegions.MapRegionSize;
break;
- default: throw new NotImplementedException($"SvcGetInfo: {InfoType} {Handle} {InfoId}");
+ default:
+ Process.PrintStackTrace(ThreadState);
+
+ throw new NotImplementedException($"SvcGetInfo: {InfoType} {Handle:x8} {InfoId}");
}
ThreadState.X0 = 0;