hle: service: sm: Fix GetService setup of session & port.
This commit is contained in:
parent
2aa6a8d889
commit
ec5674a6ad
2 changed files with 5 additions and 5 deletions
|
@ -66,7 +66,7 @@ ResultCode KClientPort::CreateSession(KClientSession** out,
|
|||
// Update the session counts.
|
||||
{
|
||||
// Atomically increment the number of sessions.
|
||||
s32 new_sessions;
|
||||
s32 new_sessions{};
|
||||
{
|
||||
const auto max = max_sessions;
|
||||
auto cur_sessions = num_sessions.load(std::memory_order_acquire);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue