summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process_capability.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-24 11:40:31 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:53 +0200
commit4b03e6e776e6421c2b2c290b0822b9e5a8556a4c (patch)
tree87c2925a7adf4109a77b4f015cd36d803d4221fc /src/core/hle/kernel/process_capability.cpp
parenthle: kernel: KClassToken: Ensure class tokens are correct. (diff)
downloadyuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.gz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.bz2
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.lz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.xz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.zst
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/process_capability.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process_capability.cpp b/src/core/hle/kernel/process_capability.cpp
index 4ccac0b06..fcb8b1ea5 100644
--- a/src/core/hle/kernel/process_capability.cpp
+++ b/src/core/hle/kernel/process_capability.cpp
@@ -6,7 +6,7 @@
#include "common/bit_util.h"
#include "common/logging/log.h"
-#include "core/hle/kernel/handle_table.h"
+#include "core/hle/kernel/k_handle_table.h"
#include "core/hle/kernel/k_page_table.h"
#include "core/hle/kernel/process_capability.h"
#include "core/hle/kernel/svc_results.h"
@@ -99,7 +99,7 @@ void ProcessCapabilities::InitializeForMetadatalessProcess() {
interrupt_capabilities.set();
// Allow using the maximum possible amount of handles
- handle_table_size = static_cast<s32>(HandleTable::MAX_COUNT);
+ handle_table_size = static_cast<s32>(KHandleTable::MaxTableSize);
// Allow all debugging capabilities.
is_debuggable = true;