summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-10-20 05:00:46 +0200
committerbunnei <bunneidev@gmail.com>2017-10-20 05:00:46 +0200
commitdcd6bb82f7a5bc1daaa8570f710ffb062fa4c596 (patch)
tree95f6a5d5f816a9c8a6367889dd4d551deb625eb0 /src/core/hle/kernel/thread.cpp
parentlm: Implement lm::Initialize and Logger::log. (diff)
downloadyuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar.gz
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar.bz2
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar.lz
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar.xz
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.tar.zst
yuzu-dcd6bb82f7a5bc1daaa8570f710ffb062fa4c596.zip
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 75df49ac2..8b72084bf 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -446,7 +446,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::Static);
+ linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::ThreadLocalStorage);
}
// Mark the slot as used