summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2017-10-09 21:39:32 -0400
committerGravatar bunnei2017-10-09 21:39:32 -0400
commit23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6 (patch)
tree168e7793c6d68eb8b195850a056443ea98f430a9 /src/core/hle/kernel/thread.cpp
parentloader: Add support for NRO, as well as various fixes and shared linker. (diff)
downloadyuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.gz
yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.xz
yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.zip
loader: Various improvements for NSO/NRO loaders.
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 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,
429 // Map the page to the current process' address space. 429 // Map the page to the current process' address space.
430 // TODO(Subv): Find the correct MemoryState for this region. 430 // TODO(Subv): Find the correct MemoryState for this region.
431 vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE, 431 vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE,
432 linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Private); 432 linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Static);
433 } 433 }
434 434
435 // Mark the slot as used 435 // Mark the slot as used