UnmapEventArgs.cs
1 using System; 2 using System.Collections.Generic; 3 4 namespace Ryujinx.Graphics.Gpu.Memory 5 { 6 public class UnmapEventArgs 7 { 8 public ulong Address { get; } 9 public ulong Size { get; } 10 public List<Action> RemapActions { get; private set; } 11 12 public UnmapEventArgs(ulong address, ulong size) 13 { 14 Address = address; 15 Size = size; 16 } 17 18 public void AddRemapAction(Action action) 19 { 20 RemapActions ??= new List<Action>(); 21 RemapActions.Add(action); 22 } 23 } 24 }