diff options
Diffstat (limited to 'src/core/hle/service/service.h')
| -rw-r--r-- | src/core/hle/service/service.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index f31135212..cd216f27e 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h | |||
| @@ -28,13 +28,15 @@ class Interface : public Kernel::Session { | |||
| 28 | // just something that encapsulates a session and acts as a helper to implement service | 28 | // just something that encapsulates a session and acts as a helper to implement service |
| 29 | // processes. | 29 | // processes. |
| 30 | public: | 30 | public: |
| 31 | std::string GetName() const override { return GetPortName(); } | 31 | std::string GetName() const override { |
| 32 | return GetPortName(); | ||
| 33 | } | ||
| 32 | 34 | ||
| 33 | typedef void (*Function)(Interface*); | 35 | typedef void (*Function)(Interface*); |
| 34 | 36 | ||
| 35 | struct FunctionInfo { | 37 | struct FunctionInfo { |
| 36 | u32 id; | 38 | u32 id; |
| 37 | Function func; | 39 | Function func; |
| 38 | const char* name; | 40 | const char* name; |
| 39 | }; | 41 | }; |
| 40 | 42 | ||
| @@ -49,7 +51,6 @@ public: | |||
| 49 | ResultVal<bool> SyncRequest() override; | 51 | ResultVal<bool> SyncRequest() override; |
| 50 | 52 | ||
| 51 | protected: | 53 | protected: |
| 52 | |||
| 53 | /** | 54 | /** |
| 54 | * Registers the functions in the service | 55 | * Registers the functions in the service |
| 55 | */ | 56 | */ |
| @@ -62,7 +63,6 @@ protected: | |||
| 62 | 63 | ||
| 63 | private: | 64 | private: |
| 64 | boost::container::flat_map<u32, FunctionInfo> m_functions; | 65 | boost::container::flat_map<u32, FunctionInfo> m_functions; |
| 65 | |||
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | /// Initialize ServiceManager | 68 | /// Initialize ServiceManager |