diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index b547a3463..7692d02e1 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp | |||
| @@ -51,7 +51,7 @@ bool SessionRequestManager::HasSessionRequestHandler(const HLERequestContext& co | |||
| 51 | LOG_CRITICAL(IPC, "object_id {} is too big!", object_id); | 51 | LOG_CRITICAL(IPC, "object_id {} is too big!", object_id); |
| 52 | return false; | 52 | return false; |
| 53 | } | 53 | } |
| 54 | return DomainHandler(object_id - 1).lock() != nullptr; | 54 | return !DomainHandler(object_id - 1).expired(); |
| 55 | } else { | 55 | } else { |
| 56 | return session_handler != nullptr; | 56 | return session_handler != nullptr; |
| 57 | } | 57 | } |