Explorar o código

hle: kernel: Ensure global handle table is initialized.

bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
fe402d3506
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/hle/kernel/kernel.cpp

+ 1 - 0
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;