Fix typo and align declarations

This commit is contained in:
jduncanator 2019-01-11 11:07:56 +11:00
parent 44c98a8b1e
commit ffc3109924

View file

@ -60,7 +60,7 @@ namespace Ryujinx.HLE.Exceptions
StringBuilder sb = new StringBuilder();
// Print the IPC command details (service name, command ID, and handler)
(Type callingType, MethodBase callingMethod) = WalkStrackTrace(new StackTrace(this));
(Type callingType, MethodBase callingMethod) = WalkStackTrace(new StackTrace(this));
if (callingType != null && callingMethod != null)
{
@ -140,7 +140,7 @@ namespace Ryujinx.HLE.Exceptions
return sb.ToString();
}
private (Type, MethodBase) WalkStrackTrace(StackTrace trace)
private (Type, MethodBase) WalkStackTrace(StackTrace trace)
{
int i = 0;
@ -148,7 +148,7 @@ namespace Ryujinx.HLE.Exceptions
// Find the IIpcService method that threw this exception
while ((frame = trace.GetFrame(i++)) != null)
{
var method = frame.GetMethod();
var method = frame.GetMethod();
var declType = method.DeclaringType;
if (typeof(IIpcService).IsAssignableFrom(declType))