0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 23:55:47 +00:00

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 #pragma warning disable CA1822 // Mark member as static
public Result SetProcessMemoryPermission( public Result SetProcessMemoryPermission(
int handle, int handle,
[PointerSized] ulong src, ulong src,
[PointerSized] ulong size, ulong size,
KMemoryPermission permission) KMemoryPermission permission)
{ {
if (!PageAligned(src)) if (!PageAligned(src))