summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-29 01:38:13 +0200
committerbunnei <bunneidev@gmail.com>2021-07-21 03:54:55 +0200
commitfe402d350650de50bf9a0aa70c04bec986863978 (patch)
tree79da6f5d0931966acfd2ddcd02d35306adb1e7c0
parenthle: service: Add a helper module for managing kernel objects. (diff)
downloadyuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar.gz
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar.bz2
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar.lz
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar.xz
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.tar.zst
yuzu-fe402d350650de50bf9a0aa70c04bec986863978.zip
-rw-r--r--src/core/hle/kernel/kernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index ee60072c2..e180db791 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -61,6 +61,7 @@ struct KernelCore::Impl {
void Initialize(KernelCore& kernel) {
global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel);
global_handle_table = std::make_unique<Kernel::KHandleTable>(kernel);
+ global_handle_table->Initialize(KHandleTable::MaxTableSize);
is_phantom_mode_for_singlecore = false;