early-access version 1763

This commit is contained in:
pineappleEA
2021-06-08 07:46:24 +02:00
parent dc53b00cd9
commit 9612b12e5c
9 changed files with 57 additions and 26 deletions

View File

@@ -85,8 +85,8 @@ public:
*/
void ClientDisconnected(KServerSession* session);
std::shared_ptr<ServiceThread> GetServiceThread() const {
return service_thread.lock();
std::weak_ptr<ServiceThread> GetServiceThread() const {
return service_thread;
}
protected:
@@ -152,10 +152,12 @@ public:
session_handler = std::move(handler);
}
std::shared_ptr<ServiceThread> GetServiceThread() const {
std::weak_ptr<ServiceThread> GetServiceThread() const {
return session_handler->GetServiceThread();
}
bool HasSessionRequestHandler(const HLERequestContext& context) const;
private:
bool is_domain{};
SessionRequestHandlerPtr session_handler;
@@ -163,7 +165,6 @@ private:
private:
KernelCore& kernel;
std::weak_ptr<ServiceThread> service_thread;
};
/**