diff options
| author | 2019-03-28 18:30:58 -0400 | |
|---|---|---|
| committer | 2019-03-28 18:45:06 -0400 | |
| commit | 5d4ab5ec2fe36fa06d3adccb66261a4a8077c74e (patch) | |
| tree | 54b555ab1521f9776d1247b0a108485030594a34 /src/core/hle/kernel/process.h | |
| parent | kernel/process: Make Run's stack size parameter a u64 (diff) | |
| download | yuzu-5d4ab5ec2fe36fa06d3adccb66261a4a8077c74e.tar.gz yuzu-5d4ab5ec2fe36fa06d3adccb66261a4a8077c74e.tar.xz yuzu-5d4ab5ec2fe36fa06d3adccb66261a4a8077c74e.zip | |
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.h | 3 |
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: | |||
| 247 | /// Memory manager for this process. | 247 | /// Memory manager for this process. |
| 248 | Kernel::VMManager vm_manager; | 248 | Kernel::VMManager vm_manager; |
| 249 | 249 | ||
| 250 | /// Size of the main thread's stack in bytes. | ||
| 251 | u64 main_thread_stack_size = 0; | ||
| 252 | |||
| 250 | /// Current status of the process | 253 | /// Current status of the process |
| 251 | ProcessStatus status; | 254 | ProcessStatus status; |
| 252 | 255 | ||