summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-21 11:23:11 -0400
committerLioncash <mathew1800@gmail.com>2019-03-21 11:23:14 -0400
commit56c80a2a2150ebfed835bf872046e339d6a65df3 (patch)
tree7ad9a3e423e83fe86c595a886b4ad4c14f7fa19a /src
parent839c0f829b109da8e7c69fe17dd5b054b54a12ac (diff)
kernel/vm_manager: Amend flag values for CodeMutable
This should actually be using the data flags, rather than the code flags.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/vm_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h
index b96980f8f..a3f9a3cf6 100644
--- a/src/core/hle/kernel/vm_manager.h
+++ b/src/core/hle/kernel/vm_manager.h
@@ -166,7 +166,7 @@ enum class MemoryState : u32 {
Io = 0x01 | FlagMapped,
Normal = 0x02 | FlagMapped | FlagQueryPhysicalAddressAllowed,
CodeStatic = 0x03 | CodeFlags | FlagMapProcess,
- CodeMutable = 0x04 | CodeFlags | FlagMapProcess | FlagCodeMemory,
+ CodeMutable = 0x04 | DataFlags | FlagMapProcess | FlagCodeMemory,
Heap = 0x05 | DataFlags | FlagCodeMemory,
Shared = 0x06 | FlagMapped | FlagMemoryPoolAllocated,
ModuleCodeStatic = 0x08 | CodeFlags | FlagModule | FlagMapProcess,