summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-14 23:25:51 +0200
committerGitHub <noreply@github.com>2021-04-14 23:25:51 +0200
commiteedbe8351ca544f68bd10c0d851dbafbb2875c2a (patch)
tree7abad6611c7b5844e3c6972e1c4187881dd2a243 /src/core/hle/kernel/svc.cpp
parentMerge pull request #6195 from Morph1984/controller-applet-motion (diff)
parentk_resource_limit: Minor cleanup of member variables/headers (diff)
downloadyuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar.gz
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar.bz2
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar.lz
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar.xz
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.tar.zst
yuzu-eedbe8351ca544f68bd10c0d851dbafbb2875c2a.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index fcffc746d..bebb86154 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2156,7 +2156,7 @@ static ResultCode CreateResourceLimit(Core::System& system, Handle* out_handle)
LOG_DEBUG(Kernel_SVC, "called");
auto& kernel = system.Kernel();
- auto resource_limit = std::make_shared<KResourceLimit>(kernel, system);
+ auto resource_limit = std::make_shared<KResourceLimit>(kernel, system.CoreTiming());
auto* const current_process = kernel.CurrentProcess();
ASSERT(current_process != nullptr);