コード例 #1
0
ファイル: Syscall32.cs プロジェクト: ski982/Ryujinx-1
        public KernelResult GetInfo32(
            [R(0)] uint subIdLow,
            [R(1)] uint id,
            [R(2)] int handle,
            [R(3)] uint subIdHigh,
            [R(1)] out uint valueLow,
            [R(2)] out uint valueHigh)
        {
            long subId = (long)(subIdLow | ((ulong)subIdHigh << 32));

            KernelResult result = _syscall.GetInfo(id, handle, subId, out long value);

            valueHigh = (uint)(value >> 32);
            valueLow  = (uint)(value & uint.MaxValue);

            return(result);
        }
コード例 #2
0
ファイル: Syscall64.cs プロジェクト: jduncanator/Ryujinx
 public KernelResult GetInfo64([R(1)] uint id, [R(2)] int handle, [R(3)] long subId, [R(1)] out long value)
 {
     return(_syscall.GetInfo(id, handle, subId, out value));
 }
コード例 #3
0
 public KernelResult GetInfo64([R(1)] InfoType id, [R(2)] int handle, [R(3)] long subId, [R(1)] out ulong value)
 {
     return(_syscall.GetInfo(out value, id, handle, subId));
 }