Logging Improvements (#7)
* Logging Improvements Add Trace functions to SVC. Add function to get the function name who called.
This commit is contained in:
parent
6a3aa6cd88
commit
12e263f8b2
2 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue