mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 20:36:35 +00:00
Fix PermissionLocked check on UnmapProcessCodeMemory (#6314)
This commit is contained in:
parent
74fe814329
commit
74a18b7c18
@ -673,9 +673,9 @@ namespace Ryujinx.HLE.HOS.Kernel.Memory
|
|||||||
MemoryState.UnmapProcessCodeMemoryAllowed,
|
MemoryState.UnmapProcessCodeMemoryAllowed,
|
||||||
KMemoryPermission.None,
|
KMemoryPermission.None,
|
||||||
KMemoryPermission.None,
|
KMemoryPermission.None,
|
||||||
MemoryAttribute.Mask,
|
MemoryAttribute.Mask & ~MemoryAttribute.PermissionLocked,
|
||||||
MemoryAttribute.None,
|
MemoryAttribute.None,
|
||||||
MemoryAttribute.IpcAndDeviceMapped | MemoryAttribute.PermissionLocked,
|
MemoryAttribute.IpcAndDeviceMapped,
|
||||||
out MemoryState state,
|
out MemoryState state,
|
||||||
out _,
|
out _,
|
||||||
out _);
|
out _);
|
||||||
|
Loading…
Reference in New Issue
Block a user