From 9d894b805c719e07e4a7ed6bbebe7d9dfb176c53 Mon Sep 17 00:00:00 2001 From: Andy Adshead Date: Fri, 1 Feb 2019 01:28:13 +0000 Subject: [PATCH] Removed profile method function. It just doesn't play nice with conditional compilation so best to remove it now before it's used a lot --- Ryujinx.Profiler/Profile.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Ryujinx.Profiler/Profile.cs b/Ryujinx.Profiler/Profile.cs index 5c88be9c1a..a6127fe5d1 100644 --- a/Ryujinx.Profiler/Profile.cs +++ b/Ryujinx.Profiler/Profile.cs @@ -77,24 +77,6 @@ namespace Ryujinx.Profiler _profileInstance.EndProfile(config); } - public static void Method(ProfileConfig config, Action method) - { - #if USE_PROFILING - // If profiling is disabled just call the method - if (!ProfilingEnabled()) - { - method(); - return; - } - - Begin(config); - method(); - End(config); - #else - method(); - #endif - } - public static string GetSession() { #if USE_PROFILING