diff options
| author | 2019-03-21 11:23:11 -0400 | |
|---|---|---|
| committer | 2019-03-21 11:23:14 -0400 | |
| commit | 56c80a2a2150ebfed835bf872046e339d6a65df3 (patch) | |
| tree | 7ad9a3e423e83fe86c595a886b4ad4c14f7fa19a /src/core/hle/kernel | |
| parent | Merge pull request #2260 from lioncash/sdl (diff) | |
| download | yuzu-56c80a2a2150ebfed835bf872046e339d6a65df3.tar.gz yuzu-56c80a2a2150ebfed835bf872046e339d6a65df3.tar.xz yuzu-56c80a2a2150ebfed835bf872046e339d6a65df3.zip | |
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/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/vm_manager.h | 2 |
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 { | |||
| 166 | Io = 0x01 | FlagMapped, | 166 | Io = 0x01 | FlagMapped, |
| 167 | Normal = 0x02 | FlagMapped | FlagQueryPhysicalAddressAllowed, | 167 | Normal = 0x02 | FlagMapped | FlagQueryPhysicalAddressAllowed, |
| 168 | CodeStatic = 0x03 | CodeFlags | FlagMapProcess, | 168 | CodeStatic = 0x03 | CodeFlags | FlagMapProcess, |
| 169 | CodeMutable = 0x04 | CodeFlags | FlagMapProcess | FlagCodeMemory, | 169 | CodeMutable = 0x04 | DataFlags | FlagMapProcess | FlagCodeMemory, |
| 170 | Heap = 0x05 | DataFlags | FlagCodeMemory, | 170 | Heap = 0x05 | DataFlags | FlagCodeMemory, |
| 171 | Shared = 0x06 | FlagMapped | FlagMemoryPoolAllocated, | 171 | Shared = 0x06 | FlagMapped | FlagMemoryPoolAllocated, |
| 172 | ModuleCodeStatic = 0x08 | CodeFlags | FlagModule | FlagMapProcess, | 172 | ModuleCodeStatic = 0x08 | CodeFlags | FlagModule | FlagMapProcess, |