summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/handle_table.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-22 00:28:01 +0100
committerLioncash <mathew1800@gmail.com>2018-11-22 00:28:03 +0100
commit568bcbc29d099f030f7022838cd788dfe2feba45 (patch)
treeefb1c2e64cec569d5a58ab0ed5a8675c7d85e832 /src/core/hle/kernel/handle_table.h
parentkernel/handle_table: Default destructor in the cpp file (diff)
downloadyuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar.gz
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar.bz2
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar.lz
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar.xz
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.tar.zst
yuzu-568bcbc29d099f030f7022838cd788dfe2feba45.zip
Diffstat (limited to 'src/core/hle/kernel/handle_table.h')
-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:
void Clear();
private:
- /**
- * This is the maximum limit of handles allowed per process in CTR-OS. It can be further
- * reduced by ExHeader values, but this is not emulated here.
- */
- static const std::size_t MAX_COUNT = 4096;
+ /// This is the maximum limit of handles allowed per process in Horizon
+ static constexpr std::size_t MAX_COUNT = 1024;
static u16 GetSlot(Handle handle) {
return handle >> 15;