diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-10 03:39:32 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-10 03:39:32 +0200 |
commit | 23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6 (patch) | |
tree | 168e7793c6d68eb8b195850a056443ea98f430a9 /src/core/hle/kernel/thread.cpp | |
parent | loader: Add support for NRO, as well as various fixes and shared linker. (diff) | |
download | yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.gz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.bz2 yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.lz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.xz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.zst yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 736be50db..c01d08ebb 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -429,7 +429,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, // Map the page to the current process' address space. // TODO(Subv): Find the correct MemoryState for this region. vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE, - linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Private); + linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Static); } // Mark the slot as used |