diff options
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 9f4583b49..0edbfc4cc 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -138,7 +138,7 @@ std::shared_ptr<ResourceLimit> Process::GetResourceLimit() const { | |||
| 138 | 138 | ||
| 139 | void Process::IncrementThreadCount() { | 139 | void Process::IncrementThreadCount() { |
| 140 | ASSERT(num_threads >= 0); | 140 | ASSERT(num_threads >= 0); |
| 141 | ++num_created_threads; | 141 | num_created_threads++; |
| 142 | 142 | ||
| 143 | if (const auto count = ++num_threads; count > peak_num_threads) { | 143 | if (const auto count = ++num_threads; count > peak_num_threads) { |
| 144 | peak_num_threads = count; | 144 | peak_num_threads = count; |
| @@ -443,7 +443,7 @@ bool Process::IsSignaled() const { | |||
| 443 | Process::Process(Core::System& system) | 443 | Process::Process(Core::System& system) |
| 444 | : KSynchronizationObject{system.Kernel()}, | 444 | : KSynchronizationObject{system.Kernel()}, |
| 445 | page_table{std::make_unique<Memory::PageTable>(system)}, handle_table{system.Kernel()}, | 445 | page_table{std::make_unique<Memory::PageTable>(system)}, handle_table{system.Kernel()}, |
| 446 | address_arbiter{system}, condition_var{system}, system{system} {} | 446 | address_arbiter{system}, condition_var{system}, state_lock{system.Kernel()}, system{system} {} |
| 447 | 447 | ||
| 448 | Process::~Process() = default; | 448 | Process::~Process() = default; |
| 449 | 449 | ||