aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-28 18:26:09 -0400
committerLioncash <mathew1800@gmail.com>2019-03-28 18:26:12 -0400
commit62afbfe707a4bfe546c7bd888278620cc22dd36d (patch)
tree8246ad8801f4dc696462b1893aad95d1010e4176 /src/core/hle/kernel/process.cpp
parentccbb4dd036f4f2dd50649228c1a3b00ba8691d9f (diff)
kernel/process: Make Run's stack size parameter a u64
This will make operating with the process-related SVC commands much nicer in the future (the parameter representing the stack size in svcStartProcess is a 64-bit value).
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index 73b4ff9610..f18789a606 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -108,7 +108,7 @@ ResultCode Process::LoadFromMetadata(const FileSys::ProgramMetadata& metadata) {
return handle_table.SetSize(capabilities.GetHandleTableSize());
}
-void Process::Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size) {
+void Process::Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size) {
// The kernel always ensures that the given stack size is page aligned.
stack_size = Common::AlignUp(stack_size, Memory::PAGE_SIZE);