summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-15 06:30:10 +0100
committerGitHub <noreply@github.com>2018-12-15 06:30:10 +0100
commitd1603a0abbff7ebeda0c68b728bcfe012ae6a58a (patch)
tree34397e9e02f167436279de3cd1f566dd065270ec /src/core/hle/service/service.h
parentMerge pull request #1732 from DarkLordZach/yield-types (diff)
parentFix Service object leak on emulation stop (diff)
downloadyuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar.gz
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar.bz2
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar.lz
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar.xz
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.tar.zst
yuzu-d1603a0abbff7ebeda0c68b728bcfe012ae6a58a.zip
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r--src/core/hle/service/service.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index 98483ecf1..029533628 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -96,11 +96,9 @@ private:
/// Maximum number of concurrent sessions that this service can handle.
u32 max_sessions;
- /**
- * Port where incoming connections will be received. Only created when InstallAsService() or
- * InstallAsNamedPort() are called.
- */
- Kernel::SharedPtr<Kernel::ServerPort> port;
+ /// Flag to store if a port was already create/installed to detect multiple install attempts,
+ /// which is not supported.
+ bool port_installed = false;
/// Function used to safely up-cast pointers to the derived class before invoking a handler.
InvokerFn* handler_invoker;