diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-01 21:53:37 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:54 +0200 |
commit | 703d7aaab6cafa1926f85a77f5fdb9c72811aa6a (patch) | |
tree | 4f31f6f430e0ac0248652514588e52d4e290415e /src/core | |
parent | fixup! hle: kernel: Add initial impl. of KLinkedList. (diff) | |
download | yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar.gz yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar.bz2 yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar.lz yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar.xz yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.tar.zst yuzu-703d7aaab6cafa1926f85a77f5fdb9c72811aa6a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/svc_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc_common.h b/src/core/hle/kernel/svc_common.h index 8a8f347b5..60ea2c405 100644 --- a/src/core/hle/kernel/svc_common.h +++ b/src/core/hle/kernel/svc_common.h @@ -22,7 +22,7 @@ enum PseudoHandle : Handle { CurrentProcess = 0xFFFF8001, }; -constexpr bool IsPseudoHandle(const Handle& handle) { +constexpr bool IsPseudoHandle(Handle handle) { return handle == PseudoHandle::CurrentProcess || handle == PseudoHandle::CurrentThread; } |