diff options
author | Hexagon12 <Hexagon12@users.noreply.github.com> | 2019-04-09 19:13:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 19:13:37 +0200 |
commit | b81260c65c526728d8ed43fe4449577b5dc753fc (patch) | |
tree | d4020c0ecd0bc52766bd67f97b4f3aa90a38963a | |
parent | Merge pull request #2300 from FernandoS27/null-shader (diff) | |
parent | kernel/process: Set page table when page table resizes occur. (diff) | |
download | yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar.gz yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar.bz2 yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar.lz yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar.xz yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.tar.zst yuzu-b81260c65c526728d8ed43fe4449577b5dc753fc.zip |
-rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
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 = |