diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/process.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 73b4ff961..f18789a60 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) { | |||
| 108 | return handle_table.SetSize(capabilities.GetHandleTableSize()); | 108 | return handle_table.SetSize(capabilities.GetHandleTableSize()); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | void Process::Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size) { | 111 | void Process::Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size) { |
| 112 | // The kernel always ensures that the given stack size is page aligned. | 112 | // The kernel always ensures that the given stack size is page aligned. |
| 113 | stack_size = Common::AlignUp(stack_size, Memory::PAGE_SIZE); | 113 | stack_size = Common::AlignUp(stack_size, Memory::PAGE_SIZE); |
| 114 | 114 | ||
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index a0217d3d8..db14dd4b4 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -210,7 +210,7 @@ public: | |||
| 210 | /** | 210 | /** |
| 211 | * Applies address space changes and launches the process main thread. | 211 | * Applies address space changes and launches the process main thread. |
| 212 | */ | 212 | */ |
| 213 | void Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size); | 213 | void Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size); |
| 214 | 214 | ||
| 215 | /** | 215 | /** |
| 216 | * Prepares a process for termination by stopping all of its threads | 216 | * Prepares a process for termination by stopping all of its threads |