mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-20 21:21:40 +00:00
22 lines
559 B
C#
22 lines
559 B
C#
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostChannel.Types
|
|||
|
{
|
|||
|
[StructLayout(LayoutKind.Sequential)]
|
|||
|
struct CommandBufferHandle
|
|||
|
{
|
|||
|
public int MapHandle;
|
|||
|
public int MapAddress;
|
|||
|
}
|
|||
|
|
|||
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|||
|
struct MapCommandBufferArguments
|
|||
|
{
|
|||
|
public int NumEntries;
|
|||
|
public int DataAddress; // Ignored by the driver.
|
|||
|
public bool AttachHostChDas;
|
|||
|
public byte Padding1;
|
|||
|
public short Padding2;
|
|||
|
}
|
|||
|
}
|