mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-29 05:40:32 +00:00
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
24 lines
563 B
C#
24 lines
563 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 ??= new List<Action>();
|
|
RemapActions.Add(action);
|
|
}
|
|
}
|
|
}
|