summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-20 18:03:14 +0100
committerLioncash <mathew1800@gmail.com>2019-03-20 18:07:09 +0100
commit8f454a5c68dd7901d8abf595e0cfa50a10d1b918 (patch)
treeb647ef7a8111de4f0c1c9b65d41932a435ca3d8e /src/core/hle
parentkernel: Move CodeSet structure to its own source files (diff)
downloadyuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar.gz
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar.bz2
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar.lz
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar.xz
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.tar.zst
yuzu-8f454a5c68dd7901d8abf595e0cfa50a10d1b918.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 53b227c96..15a16ae14 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -210,7 +210,7 @@ void Process::FreeTLSSlot(VAddr tls_address) {
}
void Process::LoadModule(CodeSet module_, VAddr base_addr) {
- const auto MapSegment = [&](CodeSet::Segment& segment, VMAPermission permissions,
+ const auto MapSegment = [&](const CodeSet::Segment& segment, VMAPermission permissions,
MemoryState memory_state) {
const auto vma = vm_manager
.MapMemoryBlock(segment.addr + base_addr, module_.memory,