summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-10 23:46:23 +0100
committerbunnei <bunneidev@gmail.com>2018-03-16 23:32:21 +0100
commit8be7131033653a68deae12208b8bec79fb1a004e (patch)
treedcbf2cf9490ab167097fc282b39c95b5249505b1 /src/core/hle/kernel/process.cpp
parentMerge pull request #237 from mailwl/nifm-module (diff)
downloadyuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar.gz
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar.bz2
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar.lz
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar.xz
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.tar.zst
yuzu-8be7131033653a68deae12208b8bec79fb1a004e.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/process.cpp6
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 {