forked from Mirror/Ryujinx
13 lines
210 B
C#
13 lines
210 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.Common
|
|||
|
{
|
|||
|
public static class EnumExtensions
|
|||
|
{
|
|||
|
public static T[] GetValues<T>()
|
|||
|
{
|
|||
|
return (T[])Enum.GetValues(typeof(T));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|