hle: Implement ConvertSessionToDomain, various cleanups.

This commit is contained in:
bunnei
2017-10-15 01:24:22 -04:00
parent 746c2a3ae7
commit 4fb1b24d68
10 changed files with 82 additions and 33 deletions

View File

@ -91,6 +91,14 @@ public:
/// TODO(Subv): Find a better name for this.
SharedPtr<Thread> currently_handling;
void ConvertToDomain() {
is_domain = true;
}
bool IsDomain() const {
return is_domain;
}
private:
ServerSession();
~ServerSession() override;
@ -102,6 +110,8 @@ private:
* @return The created server session
*/
static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
bool is_domain{};
};
/**