aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Device/RwCallback.cs
blob: dc8499e9d78753a4322e54226c9744dec9abe75e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
        }
    }
}