summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/handle_table.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h
index b5e5f6545..ae3116afc 100644
--- a/src/core/hle/kernel/handle_table.h
+++ b/src/core/hle/kernel/handle_table.h
@@ -90,11 +90,8 @@ public:
90 void Clear(); 90 void Clear();
91 91
92private: 92private:
93 /** 93 /// This is the maximum limit of handles allowed per process in Horizon
94 * This is the maximum limit of handles allowed per process in CTR-OS. It can be further 94 static constexpr std::size_t MAX_COUNT = 1024;
95 * reduced by ExHeader values, but this is not emulated here.
96 */
97 static const std::size_t MAX_COUNT = 4096;
98 95
99 static u16 GetSlot(Handle handle) { 96 static u16 GetSlot(Handle handle) {
100 return handle >> 15; 97 return handle >> 15;