diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-20 18:03:14 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-20 18:07:09 +0100 |
commit | 8f454a5c68dd7901d8abf595e0cfa50a10d1b918 (patch) | |
tree | b647ef7a8111de4f0c1c9b65d41932a435ca3d8e /src/core/hle/kernel | |
parent | kernel: Move CodeSet structure to its own source files (diff) | |
download | yuzu-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/kernel')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
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, |