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 20:39:50 +01:00 committed by gdkchan
parent 6a3aa6cd88
commit 12e263f8b2
2 changed files with 13 additions and 5 deletions

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
{