diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -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 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, | |||
| 446 | // Map the page to the current process' address space. | 446 | // Map the page to the current process' address space. |
| 447 | // TODO(Subv): Find the correct MemoryState for this region. | 447 | // TODO(Subv): Find the correct MemoryState for this region. |
| 448 | vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE, | 448 | vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE, |
| 449 | linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Static); | 449 | linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::ThreadLocalStorage); |
| 450 | } | 450 | } |
| 451 | 451 | ||
| 452 | // Mark the slot as used | 452 | // Mark the slot as used |