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

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

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

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