summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-11 05:08:47 -0300
committerGravatar Yuri Kunde Schlesner2015-05-11 05:08:47 -0300
commitd16c2bd956a69754e1c2aef6600c10d944638673 (patch)
treed2d6638d66ff1f6aa7f0e341e6ea139b68b6ef24 /src/core/hle/kernel/thread.h
parentMerge pull request #740 from yuriks/gsp-shmem (diff)
downloadyuzu-d16c2bd956a69754e1c2aef6600c10d944638673.tar.gz
yuzu-d16c2bd956a69754e1c2aef6600c10d944638673.tar.xz
yuzu-d16c2bd956a69754e1c2aef6600c10d944638673.zip
Thread: Correctly set main thread initial stack position
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 6891c8c2f..afdaf8511 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -181,12 +181,11 @@ private:
181 181
182/** 182/**
183 * Sets up the primary application thread 183 * Sets up the primary application thread
184 * @param stack_size The size of the thread's stack
185 * @param entry_point The address at which the thread should start execution 184 * @param entry_point The address at which the thread should start execution
186 * @param priority The priority to give the main thread 185 * @param priority The priority to give the main thread
187 * @return A shared pointer to the main thread 186 * @return A shared pointer to the main thread
188 */ 187 */
189SharedPtr<Thread> SetupMainThread(u32 stack_size, u32 entry_point, s32 priority); 188SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority);
190 189
191/** 190/**
192 * Reschedules to the next available thread (call after current thread is suspended) 191 * Reschedules to the next available thread (call after current thread is suspended)