Procházet zdrojové kódy

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

bunnei před 3 roky
rodič
revize
e63a5459e3
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  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;