Explorar o código

core: hle: kernel: svc_common: Add WaitInfinite & cleanup.

bunnei %!s(int64=3) %!d(string=hai) anos
pai
achega
e63a5459e3
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/core/hle/kernel/svc_common.h

+ 5 - 2
src/core/hle/kernel/svc_common.h

@@ -14,8 +14,11 @@ namespace Kernel::Svc {
 
 using namespace Common::Literals;
 
-constexpr s32 ArgumentHandleCountMax = 0x40;
-constexpr u32 HandleWaitMask{1u << 30};
+constexpr inline s32 ArgumentHandleCountMax = 0x40;
+
+constexpr inline u32 HandleWaitMask = 1u << 30;
+
+constexpr inline s64 WaitInfinite = -1;
 
 constexpr inline std::size_t HeapSizeAlignment = 2_MiB;