core: hle: kernel: KEvent: Pass in owner KProcess on event creation.

- This is necessary to ensure resource limits are freed from the right process.
This commit is contained in:
bunnei
2022-02-21 12:31:23 -08:00
parent c7019db6f4
commit 57ebcbf2c4
4 changed files with 8 additions and 12 deletions

View File

@ -22,7 +22,7 @@ public:
explicit KEvent(KernelCore& kernel_);
~KEvent() override;
void Initialize(std::string&& name);
void Initialize(std::string&& name, KProcess* owner_);
void Finalize() override;