diff options
Diffstat (limited to 'Ryujinx.Graphics.Device/RegisterAttribute.cs')
| -rw-r--r-- | Ryujinx.Graphics.Device/RegisterAttribute.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Device/RegisterAttribute.cs b/Ryujinx.Graphics.Device/RegisterAttribute.cs new file mode 100644 index 00000000..6e198963 --- /dev/null +++ b/Ryujinx.Graphics.Device/RegisterAttribute.cs @@ -0,0 +1,15 @@ +using System; + +namespace Ryujinx.Graphics.Device +{ + [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] + public sealed class RegisterAttribute : Attribute + { + public AccessControl AccessControl { get; } + + public RegisterAttribute(AccessControl ac) + { + AccessControl = ac; + } + } +} |
