mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-12 12:31:30 +00:00
18 lines
554 B
C#
18 lines
554 B
C#
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
|
|
{
|
|
struct UpdatePageTableGpuAddressCommand : IGALCommand
|
|
{
|
|
public CommandType CommandType => CommandType.UpdatePageTableGpuAddress;
|
|
private ulong _address;
|
|
|
|
public void Set(ulong address)
|
|
{
|
|
_address = address;
|
|
}
|
|
|
|
public static void Run(ref UpdatePageTableGpuAddressCommand command, ThreadedRenderer threaded, IRenderer renderer)
|
|
{
|
|
renderer.Pipeline.UpdatePageTableGpuAddress(command._address);
|
|
}
|
|
}
|
|
}
|