From 8f353457295767edaaf9dfccb4d938bc1befeb40 Mon Sep 17 00:00:00 2001 From: Berkan Diler Date: Sun, 13 Feb 2022 14:50:07 +0100 Subject: Use Enum and Delegate.CreateDelegate generic overloads (#3111) * Use Enum generic overloads * Remove EnumExtensions.cs * Use Delegate.CreateDelegate generic overloads --- Ryujinx.Common/Logging/Logger.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Common/Logging') diff --git a/Ryujinx.Common/Logging/Logger.cs b/Ryujinx.Common/Logging/Logger.cs index e41eaf53..040a555b 100644 --- a/Ryujinx.Common/Logging/Logger.cs +++ b/Ryujinx.Common/Logging/Logger.cs @@ -94,7 +94,7 @@ namespace Ryujinx.Common.Logging static Logger() { - m_EnabledClasses = new bool[Enum.GetNames(typeof(LogClass)).Length]; + m_EnabledClasses = new bool[Enum.GetNames().Length]; for (int index = 0; index < m_EnabledClasses.Length; index++) { -- cgit v1.2.3