diff options
| author | bunnei <bunneidev@gmail.com> | 2018-03-10 17:46:23 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-03-16 18:32:21 -0400 |
| commit | 8be7131033653a68deae12208b8bec79fb1a004e (patch) | |
| tree | dcbf2cf9490ab167097fc282b39c95b5249505b1 /src/core/hle/kernel/process.cpp | |
| parent | 07ae1f972d5f41f6d5287750f05596b0b29fb6bd (diff) | |
MemoryState: Add additional memory states and improve naming.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 9ca2374ea..9c0a44351 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -153,9 +153,9 @@ void Process::LoadModule(SharedPtr<CodeSet> module_, VAddr base_addr) { }; // Map CodeSet segments - MapSegment(module_->code, VMAPermission::ReadExecute, MemoryState::Code); - MapSegment(module_->rodata, VMAPermission::Read, MemoryState::Static); - MapSegment(module_->data, VMAPermission::ReadWrite, MemoryState::Static); + MapSegment(module_->code, VMAPermission::ReadExecute, MemoryState::CodeStatic); + MapSegment(module_->rodata, VMAPermission::Read, MemoryState::CodeMutable); + MapSegment(module_->data, VMAPermission::ReadWrite, MemoryState::CodeMutable); } VAddr Process::GetLinearHeapAreaAddress() const { |
