summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-15 03:08:15 +0100
committerbunnei <bunneidev@gmail.com>2018-03-16 23:32:23 +0100
commit8581404482e31b6ef6adc522b303baddaec760ec (patch)
tree816e82fbebfd41fbc55435b63b58fd5f50342b53 /src/core/hle/kernel/thread.cpp
parentmemory: Add regions for map region, "new" map region, etc. (diff)
downloadyuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.gz
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.bz2
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.lz
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.xz
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.zst
yuzu-8581404482e31b6ef6adc522b303baddaec760ec.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 419ad1e63..a39c53db5 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -357,7 +357,7 @@ SharedPtr<Thread> SetupMainThread(VAddr entry_point, u32 priority,
// Initialize new "main" thread
auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0,
- Memory::HEAP_VADDR_END, owner_process);
+ Memory::STACK_VADDR_END, owner_process);
SharedPtr<Thread> thread = std::move(thread_res).Unwrap();