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