summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/object.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-29 08:45:28 +0100
committerbunnei <bunneidev@gmail.com>2021-01-11 23:23:16 +0100
commitb4e6d6c38586eaa5aab7f7df3f9d958755a517c2 (patch)
tree8298e102b21223af6b174525844917acff2afabb /src/core/hle/kernel/object.h
parentcore: hle: kernel: Begin moving common SVC defintions to its own header. (diff)
downloadyuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.gz
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.bz2
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.lz
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.xz
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.zst
yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/object.h b/src/core/hle/kernel/object.h
index e3391e2af..27124ef67 100644
--- a/src/core/hle/kernel/object.h
+++ b/src/core/hle/kernel/object.h
@@ -50,6 +50,11 @@ public:
}
virtual HandleType GetHandleType() const = 0;
+ void Close() {
+ // TODO(bunnei): This is a placeholder to decrement the reference count, which we will use
+ // when we implement KAutoObject instead of using shared_ptr.
+ }
+
/**
* Check if a thread can wait on the object
* @return True if a thread can wait on the object, otherwise false