16 lines
321 B
C#
16 lines
321 B
C#
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;
|
|
}
|
|
}
|
|
}
|