diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-07 02:36:19 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-04-08 23:11:39 +0200 |
commit | f55fc850a245921cc2e89d281ff8bf81380f007b (patch) | |
tree | a0e76c77125e31c049a98cfc838bf878f18c9541 /src/core/hle | |
parent | Merge pull request #8169 from merryhime/scoped_lock (diff) | |
download | yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar.gz yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar.bz2 yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar.lz yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar.xz yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.tar.zst yuzu-f55fc850a245921cc2e89d281ff8bf81380f007b.zip |
Diffstat (limited to 'src/core/hle')
-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 LOG_CRITICAL(IPC, "object_id {} is too big!", object_id); return false; } - return DomainHandler(object_id - 1).lock() != nullptr; + return !DomainHandler(object_id - 1).expired(); } else { return session_handler != nullptr; } |