mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-17 16:31:02 -05:00
25 lines
547 B
C#
25 lines
547 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Ryujinx.Graphics.Gpu.Memory
|
|
{
|
|
public class UnmapEventArgs
|
|
{
|
|
public ulong Address { get; }
|
|
public ulong Size { get; }
|
|
public List<Action> RemapActions { get; private set; }
|
|
|
|
public UnmapEventArgs(ulong address, ulong size)
|
|
{
|
|
Address = address;
|
|
Size = size;
|
|
}
|
|
|
|
public void AddRemapAction(Action action)
|
|
{
|
|
RemapActions ??= [];
|
|
RemapActions.Add(action);
|
|
}
|
|
}
|
|
}
|