mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
23 lines
320 B
C#
23 lines
320 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Mesen.Utilities
|
|
{
|
|
public class RefStruct<T> where T : struct
|
|
{
|
|
private T _value;
|
|
|
|
public RefStruct(T value)
|
|
{
|
|
_value = value;
|
|
}
|
|
|
|
public T Get()
|
|
{
|
|
return _value;
|
|
}
|
|
}
|
|
}
|