diff options
Diffstat (limited to 'Ryujinx.Graphics.Device/RwCallback.cs')
-rw-r--r-- | Ryujinx.Graphics.Device/RwCallback.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Device/RwCallback.cs b/Ryujinx.Graphics.Device/RwCallback.cs new file mode 100644 index 00000000..6f1c8898 --- /dev/null +++ b/Ryujinx.Graphics.Device/RwCallback.cs @@ -0,0 +1,16 @@ +using System; + +namespace Ryujinx.Graphics.Device +{ + public struct RwCallback + { + public Action<int> Write { get; } + public Func<int> Read { get; } + + public RwCallback(Action<int> write, Func<int> read) + { + Write = write; + Read = read; + } + } +} |