aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2024-01-03 20:05:14 -0300
committerGitHub <noreply@github.com>2024-01-04 00:05:14 +0100
commit6f50b9bdb0943c350835453e97b02be52ad39bfd (patch)
tree37d4de58dbc86e4eaa5488d53029d908b1b41731 /src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs
parentf11d663df73f68350820dfa65aa51a8a9b9ffd0f (diff)
Add support for PermissionLocked attribute added on firmware 17.0.0 (#6072)1.1.1103
* Update MemoryState enum and add new flags * Add support for new PermissionLocked attribute added on firmware 17.0.0 * Format whitespace
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs b/src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs
index 36b1ec8c..e0fa60fa 100644
--- a/src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs
+++ b/src/Ryujinx.HLE/HOS/Kernel/Memory/MemoryAttribute.cs
@@ -12,11 +12,10 @@ namespace Ryujinx.HLE.HOS.Kernel.Memory
IpcMapped = 1 << 1,
DeviceMapped = 1 << 2,
Uncached = 1 << 3,
+ PermissionLocked = 1 << 4,
IpcAndDeviceMapped = IpcMapped | DeviceMapped,
-
BorrowedAndIpcMapped = Borrowed | IpcMapped,
-
DeviceMappedAndUncached = DeviceMapped | Uncached,
}
}