summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-21 21:31:23 +0100
committerbunnei <bunneidev@gmail.com>2022-02-21 21:41:06 +0100
commit57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b (patch)
tree849296d997bdd7768b21f60958fbdd466c232a42 /src/core/hle/kernel/svc.cpp
parentcore: hle: kernel: KResourceLimit: Add a helper function for creating a KResourceLimit for a process. (diff)
downloadyuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar.gz
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar.bz2
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar.lz
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar.xz
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.tar.zst
yuzu-57ebcbf2c4574e5d04d5b91ea2918b0d030ac92b.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 9836809f2..839171e85 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -2332,7 +2332,7 @@ static ResultCode CreateEvent(Core::System& system, Handle* out_write, Handle* o
R_UNLESS(event != nullptr, ResultOutOfResource);
// Initialize the event.
- event->Initialize("CreateEvent");
+ event->Initialize("CreateEvent", kernel.CurrentProcess());
// Commit the thread reservation.
event_reservation.Commit();