summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-01-05 05:24:06 +0100
committerSubv <subv2112@gmail.com>2017-05-15 18:22:16 +0200
commitce5bc477ca0cd59df4922c1c6cd245db365dc7bc (patch)
tree711a57a2134fb9b2029db5e9a2b5e8be122cd739 /src/core/hle/kernel
parentKernel: Use a Session object to keep track of the status of a Client/Server session pair. (diff)
downloadyuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.gz
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.bz2
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.lz
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.xz
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.tar.zst
yuzu-ce5bc477ca0cd59df4922c1c6cd245db365dc7bc.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/client_session.cpp1
-rw-r--r--src/core/hle/kernel/client_session.h7
2 files changed, 0 insertions, 8 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp
index c2f48176e..6737b204b 100644
--- a/src/core/hle/kernel/client_session.cpp
+++ b/src/core/hle/kernel/client_session.cpp
@@ -30,7 +30,6 @@ ResultVal<SharedPtr<ClientSession>> ClientSession::Create(std::string name) {
client_session->name = std::move(name);
client_session->parent = nullptr;
- client_session->session_status = SessionStatus::Open;
return MakeResult<SharedPtr<ClientSession>>(std::move(client_session));
}
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h
index adb2d0b5f..5ec4ee901 100644
--- a/src/core/hle/kernel/client_session.h
+++ b/src/core/hle/kernel/client_session.h
@@ -16,12 +16,6 @@ namespace Kernel {
class ServerSession;
class Session;
-enum class SessionStatus {
- Open = 1,
- ClosedByClient = 2,
- ClosedBYServer = 3,
-};
-
class ClientSession final : public Object {
public:
friend class ServerSession;
@@ -49,7 +43,6 @@ public:
/// The parent session, which links to the server endpoint.
std::shared_ptr<Session> parent;
- SessionStatus session_status; ///< The session's current status.
private:
ClientSession();