diff options
| author | bunnei <bunneidev@gmail.com> | 2018-12-27 11:15:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-27 11:15:34 -0500 |
| commit | 795335af0f37ce25da3c3ca8eeab62c50f87d366 (patch) | |
| tree | 48bde2f34a4e9c87dc96f83bfbeeeee96b72b9e6 /src/core/hle/kernel/handle_table.h | |
| parent | fa9acc26d95803992ef2d6dab731f0301adec08a (diff) | |
| parent | 002ae08bbd3e5e851d8a682203462efbcf59e3dd (diff) | |
Merge pull request #1928 from lioncash/caps
kernel: Handle kernel capability descriptors
Diffstat (limited to 'src/core/hle/kernel/handle_table.h')
| -rw-r--r-- | src/core/hle/kernel/handle_table.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h index 6b7927fd8..89a3bc740 100644 --- a/src/core/hle/kernel/handle_table.h +++ b/src/core/hle/kernel/handle_table.h @@ -43,6 +43,9 @@ enum KernelHandle : Handle { */ class HandleTable final : NonCopyable { public: + /// This is the maximum limit of handles allowed per process in Horizon + static constexpr std::size_t MAX_COUNT = 1024; + HandleTable(); ~HandleTable(); @@ -91,9 +94,6 @@ public: void Clear(); private: - /// This is the maximum limit of handles allowed per process in Horizon - static constexpr std::size_t MAX_COUNT = 1024; - /// Stores the Object referenced by the handle or null if the slot is empty. std::array<SharedPtr<Object>, MAX_COUNT> objects; |
