SetProcessMemoryPermission address and size are always 64-bit (#6977)

This commit is contained in:
Rafa 2024-06-25 08:40:53 +01:00 committed by GitHub
parent 0afa8f2c14
commit 0c3421973c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1546,8 +1546,8 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
#pragma warning disable CA1822 // Mark member as static
public Result SetProcessMemoryPermission(
int handle,
[PointerSized] ulong src,
[PointerSized] ulong size,
ulong src,
ulong size,
KMemoryPermission permission)
{
if (!PageAligned(src))