diff options
Diffstat (limited to 'Ryujinx.Common/Memory/Box.cs')
-rw-r--r-- | Ryujinx.Common/Memory/Box.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.Common/Memory/Box.cs b/Ryujinx.Common/Memory/Box.cs new file mode 100644 index 00000000..743cc31d --- /dev/null +++ b/Ryujinx.Common/Memory/Box.cs @@ -0,0 +1,12 @@ +namespace Ryujinx.Common.Memory +{ + public class Box<T> where T : unmanaged + { + public T Data; + + public Box() + { + Data = new T(); + } + } +} |