From dcdaac8a0b5ae5b8d251c3713d3024287b0720b1 Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 29 Dec 2017 00:36:22 -0500 Subject: kernel: Fix implementation of ConvertSessionToDomain. --- src/core/hle/kernel/handle_table.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/hle/kernel/handle_table.h') diff --git a/src/core/hle/kernel/handle_table.h b/src/core/hle/kernel/handle_table.h index d6aaefbf7..dba5573a8 100644 --- a/src/core/hle/kernel/handle_table.h +++ b/src/core/hle/kernel/handle_table.h @@ -17,6 +17,8 @@ enum KernelHandle : Handle { CurrentProcess = 0xFFFF8001, }; +class Session; + /** * This class allows the creation of Handles, which are references to objects that can be tested * for validity and looked up. Here they are used to pass references to kernel objects to/from the @@ -59,6 +61,11 @@ public: */ ResultVal Duplicate(Handle handle); + /** + * Convert all handles of the specified Session to the specified Domain. + */ + void ConvertSessionToDomain(const Session& session, SharedPtr domain); + /** * Closes a handle, removing it from the table and decreasing the object's ref-count. * @return `RESULT_SUCCESS` or one of the following errors: -- cgit v1.2.3