aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-28 18:30:58 -0400
committerLioncash <mathew1800@gmail.com>2019-03-28 18:45:06 -0400
commit5d4ab5ec2fe36fa06d3adccb66261a4a8077c74e (patch)
tree54b555ab1521f9776d1247b0a108485030594a34 /src/core/hle/kernel/process.h
parent427f1e3e3da5709e74bf4db674a019d9d79f2ed3 (diff)
kernel/process: Store the main thread stack size to a data member
This will be necessary in order to properly report memory usage within svcGetInfo.
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index db14dd4b4..ee559fe4c 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -247,6 +247,9 @@ private:
/// Memory manager for this process.
Kernel::VMManager vm_manager;
+ /// Size of the main thread's stack in bytes.
+ u64 main_thread_stack_size = 0;
+
/// Current status of the process
ProcessStatus status;