summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2019-04-02 06:46:00 +0200
committerGitHub <noreply@github.com>2019-04-02 06:46:00 +0200
commit628153cccdc4873defde779cac84033c012be38c (patch)
tree8d760fae151417d5f4759906f47d3e125836db17 /src/core
parentMerge pull request #2281 from lioncash/memory (diff)
parentprocess: Fix up compilation (diff)
downloadyuzu-628153cccdc4873defde779cac84033c012be38c.tar
yuzu-628153cccdc4873defde779cac84033c012be38c.tar.gz
yuzu-628153cccdc4873defde779cac84033c012be38c.tar.bz2
yuzu-628153cccdc4873defde779cac84033c012be38c.tar.lz
yuzu-628153cccdc4873defde779cac84033c012be38c.tar.xz
yuzu-628153cccdc4873defde779cac84033c012be38c.tar.zst
yuzu-628153cccdc4873defde779cac84033c012be38c.zip
Diffstat (limited to 'src/core')
-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();