summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-09 17:19:29 +0200
committerLioncash <mathew1800@gmail.com>2019-04-09 19:00:56 +0200
commit2abf979c35506e1d6dabea74b8ada6581cefe19c (patch)
treed4020c0ecd0bc52766bd67f97b4f3aa90a38963a /src/core
parentMerge pull request #2300 from FernandoS27/null-shader (diff)
downloadyuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar.gz
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar.bz2
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar.lz
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar.xz
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.tar.zst
yuzu-2abf979c35506e1d6dabea74b8ada6581cefe19c.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/process.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 26c6b95ab..4e94048da 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -106,6 +106,8 @@ ResultCode Process::LoadFromMetadata(const FileSys::ProgramMetadata& metadata) {
is_64bit_process = metadata.Is64BitProgram();
vm_manager.Reset(metadata.GetAddressSpaceType());
+ // Ensure that the potentially resized page table is seen by CPU backends.
+ Memory::SetCurrentPageTable(&vm_manager.page_table);
const auto& caps = metadata.GetKernelCapabilities();
const auto capability_init_result =