mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 15:24:53 +01:00
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
25 lines
563 B
C#
25 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);
|
|
}
|
|
}
|
|
}
|