aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Device/RwCallback.cs
blob: 46428cdd10e7ff32fa46e2543590348e3a4e1987 (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;
        }
    }
}