mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
fix: fix UnmapView
This commit is contained in:
parent
19d6bddc25
commit
e9abc7e59e
1 changed files with 1 additions and 8 deletions
|
@ -252,15 +252,8 @@ namespace Ryujinx.Memory
|
|||
}
|
||||
|
||||
public static void UnmapView(IntPtr location, ulong size)
|
||||
{
|
||||
if (OperatingSystem.IsIOS())
|
||||
{
|
||||
MachJitWorkaround.UnmapView(location, size);
|
||||
}
|
||||
else
|
||||
{
|
||||
Mmap(location, size, MmapProts.PROT_NONE, MmapFlags.MAP_FIXED | MmapFlags.MAP_PRIVATE | MmapFlags.MAP_ANONYMOUS | MmapFlags.MAP_NORESERVE, -1, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue