diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 4d9549e45..c77e58f3c 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -31,7 +31,6 @@ enum class HandleType : u32 { | |||
| 31 | ServerPort, | 31 | ServerPort, |
| 32 | ClientSession, | 32 | ClientSession, |
| 33 | ServerSession, | 33 | ServerSession, |
| 34 | Domain, | ||
| 35 | }; | 34 | }; |
| 36 | 35 | ||
| 37 | enum { | 36 | enum { |
| @@ -84,27 +83,12 @@ public: | |||
| 84 | case HandleType::CodeSet: | 83 | case HandleType::CodeSet: |
| 85 | case HandleType::ClientPort: | 84 | case HandleType::ClientPort: |
| 86 | case HandleType::ClientSession: | 85 | case HandleType::ClientSession: |
| 87 | case HandleType::Domain: | ||
| 88 | return false; | 86 | return false; |
| 89 | } | 87 | } |
| 90 | 88 | ||
| 91 | UNREACHABLE(); | 89 | UNREACHABLE(); |
| 92 | } | 90 | } |
| 93 | 91 | ||
| 94 | /** | ||
| 95 | * Check if svcSendSyncRequest can be called on the object | ||
| 96 | * @return True svcSendSyncRequest can be called on the object, otherwise false | ||
| 97 | */ | ||
| 98 | bool IsSyncable() const { | ||
| 99 | switch (GetHandleType()) { | ||
| 100 | case HandleType::ClientSession: | ||
| 101 | case HandleType::Domain: | ||
| 102 | return true; | ||
| 103 | } | ||
| 104 | |||
| 105 | UNREACHABLE(); | ||
| 106 | } | ||
| 107 | |||
| 108 | public: | 92 | public: |
| 109 | static unsigned int next_object_id; | 93 | static unsigned int next_object_id; |
| 110 | 94 | ||