diff options
| author | 2020-12-28 23:45:28 -0800 | |
|---|---|---|
| committer | 2021-01-11 14:23:16 -0800 | |
| commit | b4e6d6c38586eaa5aab7f7df3f9d958755a517c2 (patch) | |
| tree | 8298e102b21223af6b174525844917acff2afabb /src/core/hle/kernel/object.h | |
| parent | core: hle: kernel: Begin moving common SVC defintions to its own header. (diff) | |
| download | yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.gz yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.tar.xz yuzu-b4e6d6c38586eaa5aab7f7df3f9d958755a517c2.zip | |
core: hle: kernel: Update KConditionVariable.
Diffstat (limited to 'src/core/hle/kernel/object.h')
| -rw-r--r-- | src/core/hle/kernel/object.h | 5 |
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: | |||
| 50 | } | 50 | } |
| 51 | virtual HandleType GetHandleType() const = 0; | 51 | virtual HandleType GetHandleType() const = 0; |
| 52 | 52 | ||
| 53 | void Close() { | ||
| 54 | // TODO(bunnei): This is a placeholder to decrement the reference count, which we will use | ||
| 55 | // when we implement KAutoObject instead of using shared_ptr. | ||
| 56 | } | ||
| 57 | |||
| 53 | /** | 58 | /** |
| 54 | * Check if a thread can wait on the object | 59 | * Check if a thread can wait on the object |
| 55 | * @return True if a thread can wait on the object, otherwise false | 60 | * @return True if a thread can wait on the object, otherwise false |