Logging Improvements (#7)

* Logging Improvements

Add Trace functions to SVC.
Add function to get the function name who called.
This commit is contained in:
Ac_K
2018-02-09 16:39:50 -03:00
committed by gdkchan
parent 6a3aa6cd88
commit 12e263f8b2
2 changed files with 13 additions and 5 deletions
+2
View File
@@ -69,7 +69,9 @@ namespace Ryujinx.OsHle.Svc
if (SvcFuncs.TryGetValue(e.Id, out SvcFunc Func))
{
Logging.Trace($"{Func.Method.Name} called.");
Func(Ns, Registers, Memory);
Logging.Trace($"{Func.Method.Name} ended.");
}
else
{