Fixed bug in profiling method where method was called twice without profiling enabled
This commit is contained in:
parent
b3c768be2b
commit
ee60de6bf4
1 changed files with 3 additions and 0 deletions
|
@ -52,7 +52,10 @@ namespace Ryujinx.Profiler
|
||||||
{
|
{
|
||||||
// If profiling is disabled just call the method
|
// If profiling is disabled just call the method
|
||||||
if (!ProfilingEnabled())
|
if (!ProfilingEnabled())
|
||||||
|
{
|
||||||
method();
|
method();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Begin(config);
|
Begin(config);
|
||||||
method();
|
method();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue