Use Enum and Delegate.CreateDelegate generic overloads (#3111)
* Use Enum generic overloads * Remove EnumExtensions.cs * Use Delegate.CreateDelegate generic overloads
This commit is contained in:
parent
ce71f9144e
commit
8f35345729
14 changed files with 14 additions and 26 deletions
|
@ -58,7 +58,7 @@ namespace Ryujinx.Configuration
|
|||
{
|
||||
bool noFilter = e.NewValue.Length == 0;
|
||||
|
||||
foreach (var logClass in EnumExtensions.GetValues<LogClass>())
|
||||
foreach (var logClass in Enum.GetValues<LogClass>())
|
||||
{
|
||||
Logger.SetEnable(logClass, noFilter);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue