mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 22:37:55 -05:00
hle: service: sm: Fix GetService setup of session & port.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user