From 703d7aaab6cafa1926f85a77f5fdb9c72811aa6a Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 1 May 2021 12:53:37 -0700 Subject: fixup! hle: kernel: Migrate to KHandleTable. --- src/core/hle/kernel/svc_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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; } -- cgit v1.2.3