diff options
| author | 2018-03-14 22:08:15 -0400 | |
|---|---|---|
| committer | 2018-03-16 18:32:23 -0400 | |
| commit | 8581404482e31b6ef6adc522b303baddaec760ec (patch) | |
| tree | 816e82fbebfd41fbc55435b63b58fd5f50342b53 /src/core/hle/kernel/thread.cpp | |
| parent | memory: Add regions for map region, "new" map region, etc. (diff) | |
| download | yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.gz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.xz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.zip | |
kernel: Move stack region outside of application heap.
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 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, | |||
| 357 | 357 | ||
| 358 | // Initialize new "main" thread | 358 | // Initialize new "main" thread |
| 359 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, | 359 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, |
| 360 | Memory::HEAP_VADDR_END, owner_process); | 360 | Memory::STACK_VADDR_END, owner_process); |
| 361 | 361 | ||
| 362 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); | 362 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); |
| 363 | 363 | ||