summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-02 06:44:32 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-04-02 06:44:32 +0200
commit592a24ae531c16174b952150315584ba14eacc54 (patch)
tree8d760fae151417d5f4759906f47d3e125836db17 /src/core/hle/kernel
parentMerge pull request #2281 from lioncash/memory (diff)
downloadyuzu-592a24ae531c16174b952150315584ba14eacc54.tar
yuzu-592a24ae531c16174b952150315584ba14eacc54.tar.gz
yuzu-592a24ae531c16174b952150315584ba14eacc54.tar.bz2
yuzu-592a24ae531c16174b952150315584ba14eacc54.tar.lz
yuzu-592a24ae531c16174b952150315584ba14eacc54.tar.xz
yuzu-592a24ae531c16174b952150315584ba14eacc54.tar.zst
yuzu-592a24ae531c16174b952150315584ba14eacc54.zip
Diffstat (limited to 'src/core/hle/kernel')
-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 a5144b8ad..955769503 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -234,7 +234,7 @@ void Process::LoadModule(CodeSet module_, VAddr base_addr) {
MapSegment(module_.RODataSegment(), VMAPermission::Read, MemoryState::CodeData);
MapSegment(module_.DataSegment(), VMAPermission::ReadWrite, MemoryState::CodeData);
- code_memory_size += module_.memory->size();
+ code_memory_size += module_.memory.size();
// Clear instruction cache in CPU JIT
system.InvalidateCpuInstructionCaches();