summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldr/ldr.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-09 08:20:16 +0100
committerbunnei <bunneidev@gmail.com>2022-01-12 01:28:11 +0100
commit6123b6ea456d77ba69a261f668c2d7caa5c567f5 (patch)
tree51864c9e8cacf25908d955f166c9e34c51406650 /src/core/hle/service/ldr/ldr.cpp
parenthle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. (diff)
downloadyuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar.gz
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar.bz2
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar.lz
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar.xz
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.tar.zst
yuzu-6123b6ea456d77ba69a261f668c2d7caa5c567f5.zip
Diffstat (limited to 'src/core/hle/service/ldr/ldr.cpp')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index f16dbc595..061358863 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -402,7 +402,7 @@ public:
ro_start, data_start - ro_start, Kernel::KMemoryPermission::Read));
return process->PageTable().SetProcessMemoryPermission(
- data_start, bss_end_addr - data_start, Kernel::KMemoryPermission::ReadAndWrite);
+ data_start, bss_end_addr - data_start, Kernel::KMemoryPermission::UserReadWrite);
}
void LoadModule(Kernel::HLERequestContext& ctx) {