mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 20:50:18 +00:00
Remove EnumExtensions.cs
This commit is contained in:
parent
391d484b5f
commit
64db5d9876
2 changed files with 1 additions and 13 deletions
|
@ -1,12 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Ryujinx.Common
|
|
||||||
{
|
|
||||||
public static class EnumExtensions
|
|
||||||
{
|
|
||||||
public static T[] GetValues<T>()
|
|
||||||
{
|
|
||||||
return (T[])Enum.GetValues(typeof(T));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -58,7 +58,7 @@ namespace Ryujinx.Configuration
|
||||||
{
|
{
|
||||||
bool noFilter = e.NewValue.Length == 0;
|
bool noFilter = e.NewValue.Length == 0;
|
||||||
|
|
||||||
foreach (var logClass in EnumExtensions.GetValues<LogClass>())
|
foreach (var logClass in Enum.GetValues<LogClass>())
|
||||||
{
|
{
|
||||||
Logger.SetEnable(logClass, noFilter);
|
Logger.SetEnable(logClass, noFilter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue