summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-10-26 05:56:13 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-10-26 19:18:05 +0100
commitd72708c1f58225f50c5ddecbd6f51580a2d9690b (patch)
tree10348ea70bd20a867daeff8433c004c38262e120 /src/core/hle/service/service.h
parentFix compile errors in Clang (diff)
downloadyuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.gz
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.bz2
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.lz
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.xz
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.zst
yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.zip
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r--src/core/hle/service/service.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index c0e803bda..2f5a866c9 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -39,11 +39,11 @@ class Interface : public Kernel::Object {
friend class Manager;
public:
- std::string GetName() const { return GetPortName(); }
- std::string GetTypeName() const { return GetPortName(); }
+ std::string GetName() const override { return GetPortName(); }
+ std::string GetTypeName() const override { return GetPortName(); }
static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Service; }
- Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Service; }
+ Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::Service; }
typedef void (*Function)(Interface*);
@@ -80,7 +80,7 @@ public:
* @param wait Boolean wait set if current thread should wait as a result of sync operation
* @return Result of operation, 0 on success, otherwise error code
*/
- Result SyncRequest(bool* wait) {
+ Result SyncRequest(bool* wait) override {
u32* cmd_buff = GetCommandBuffer();
auto itr = m_functions.find(cmd_buff[0]);
@@ -113,7 +113,7 @@ public:
* @param wait Boolean wait set if current thread should wait as a result of sync operation
* @return Result of operation, 0 on success, otherwise error code
*/
- Result WaitSynchronization(bool* wait) {
+ Result WaitSynchronization(bool* wait) override {
// TODO(bunnei): ImplementMe
ERROR_LOG(OSHLE, "unimplemented function");
return 0;