diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-09 21:36:29 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-12 04:11:41 +0200 |
commit | 32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6 (patch) | |
tree | 56ecfd188540c0e061b4fc7cdf804ebd8481cc3b /src/core | |
parent | core/core: Move main process creation into Load() (diff) | |
download | yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar.gz yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar.bz2 yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar.lz yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar.xz yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.tar.zst yuzu-32a6ceb4e576a88cf7193bf6d0bfb6d4fa1570f6.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 94d196e5c..bf0d479af 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -106,8 +106,6 @@ 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(*this); const auto& caps = metadata.GetKernelCapabilities(); const auto capability_init_result = @@ -242,9 +240,6 @@ void Process::LoadModule(CodeSet module_, VAddr base_addr) { MapSegment(module_.DataSegment(), VMAPermission::ReadWrite, MemoryState::CodeData); code_memory_size += module_.memory.size(); - - // Clear instruction cache in CPU JIT - system.InvalidateCpuInstructionCaches(); } Process::Process(Core::System& system) |