diff --git a/Ryujinx.Profiler/Profile.cs b/Ryujinx.Profiler/Profile.cs index 0d7b8169d0..82ba8c5e45 100644 --- a/Ryujinx.Profiler/Profile.cs +++ b/Ryujinx.Profiler/Profile.cs @@ -52,7 +52,10 @@ namespace Ryujinx.Profiler { // If profiling is disabled just call the method if (!ProfilingEnabled()) + { method(); + return; + } Begin(config); method();