aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
diff options
context:
space:
mode:
authorMary <mary@mary.zone>2022-02-09 21:18:07 +0100
committerGitHub <noreply@github.com>2022-02-09 17:18:07 -0300
commit6dffe0fad4bc8dee0e25ce038639d890b29d56a0 (patch)
tree5c4645911c473ec1ffa9f560c81f34212e963670 /Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
parent86b37d0ff7764ac62b1e9578b07a8b648a3bd55a (diff)
misc: Make PID unsigned long instead of long (#3043)1.1.22
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
index f1b5b0e5..bf4eee79 100644
--- a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
+++ b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall32.cs
@@ -235,12 +235,12 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
resultHigh = (uint)(result >> 32);
}
- public KernelResult GetProcessId32([R(1)] int handle, [R(1)] out int pidLow, [R(2)] out int pidHigh)
+ public KernelResult GetProcessId32([R(1)] int handle, [R(1)] out uint pidLow, [R(2)] out uint pidHigh)
{
- KernelResult result = _syscall.GetProcessId(out long pid, handle);
+ KernelResult result = _syscall.GetProcessId(out ulong pid, handle);
- pidLow = (int)(pid & uint.MaxValue);
- pidHigh = (int)(pid >> 32);
+ pidLow = (uint)(pid & uint.MaxValue);
+ pidHigh = (uint)(pid >> 32);
return result;
}
@@ -413,7 +413,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
public KernelResult GetThreadId32([R(1)] int handle, [R(1)] out uint threadUidLow, [R(2)] out uint threadUidHigh)
{
- long threadUid;
+ ulong threadUid;
KernelResult result = _syscall.GetThreadId(out threadUid, handle);