Rename Demangle -> Demangler and fix access level

This commit is contained in:
Thog 2018-05-11 23:30:04 +02:00
commit f7f28a1822
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ using System.Linq;
namespace Ryujinx.Core.OsHle.Diagnostics namespace Ryujinx.Core.OsHle.Diagnostics
{ {
public static class Demangle static class Demangler
{ {
private static readonly Dictionary<string, string> BuiltinTypes = new Dictionary<string, string> private static readonly Dictionary<string, string> BuiltinTypes = new Dictionary<string, string>
{ {
@ -129,7 +129,7 @@ namespace Ryujinx.Core.OsHle.Diagnostics
return res; return res;
} }
public static List<string> ReadName(string mangled, List<string> compressionData, out int pos) private static List<string> ReadName(string mangled, List<string> compressionData, out int pos)
{ {
List<string> res = new List<string>(); List<string> res = new List<string>();
string charCountTemp = null; string charCountTemp = null;
@ -197,7 +197,7 @@ namespace Ryujinx.Core.OsHle.Diagnostics
return res; return res;
} }
public static string ReadBuiltinType(string mangledType, out int pos) private static string ReadBuiltinType(string mangledType, out int pos)
{ {
string res = null; string res = null;
string temp; string temp;
@ -251,7 +251,7 @@ namespace Ryujinx.Core.OsHle.Diagnostics
return null; return null;
} }
public static List<string> ReadParameters(string mangledParams, List<string> compressionData, out int pos) private static List<string> ReadParameters(string mangledParams, List<string> compressionData, out int pos)
{ {
List<string> res = new List<string>(); List<string> res = new List<string>();
int i = 0; int i = 0;

View file

@ -307,7 +307,7 @@ namespace Ryujinx.Core.OsHle
} }
else if (SubName.StartsWith("_Z")) else if (SubName.StartsWith("_Z"))
{ {
SubName = Demangle.Parse(SubName); SubName = Demangler.Parse(SubName);
} }
Trace.AppendLine(" " + SubName + " (" + GetNsoNameAndAddress(Position) + ")"); Trace.AppendLine(" " + SubName + " (" + GetNsoNameAndAddress(Position) + ")");