diff options
author | Subv <subv2112@gmail.com> | 2015-05-12 22:25:15 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-05-15 05:50:13 +0200 |
commit | d3634d4bf4b1cbd8cc4fe6f22178054803b41e23 (patch) | |
tree | 2fa606ebac3e2e77e65e1196878a5f5345acfacf /src/core/hle/kernel/kernel.cpp | |
parent | Merge pull request #762 from yuriks/memmap (diff) | |
download | yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar.gz yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar.bz2 yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar.lz yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar.xz yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.tar.zst yuzu-d3634d4bf4b1cbd8cc4fe6f22178054803b41e23.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index b5c98b249..726e4d2ff 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -10,6 +10,7 @@ #include "core/arm/arm_interface.h" #include "core/core.h" #include "core/hle/kernel/kernel.h" +#include "core/hle/kernel/resource_limit.h" #include "core/hle/kernel/process.h" #include "core/hle/kernel/thread.h" #include "core/hle/kernel/timer.h" @@ -134,6 +135,7 @@ void HandleTable::Clear() { /// Initialize the kernel void Init() { + Kernel::ResourceLimitsInit(); Kernel::ThreadingInit(); Kernel::TimersInit(); @@ -147,6 +149,7 @@ void Init() { void Shutdown() { Kernel::ThreadingShutdown(); Kernel::TimersShutdown(); + Kernel::ResourceLimitsShutdown(); g_handle_table.Clear(); // Free all kernel objects g_current_process = nullptr; } |