diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-24 06:50:04 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:52 +0200 |
commit | bf380b858481ef99d7150d322af2c30ac339bcde (patch) | |
tree | 823c0fb0cdb300d01fd02567c2126fa6ad582325 /src/core/hle/kernel/k_synchronization_object.h | |
parent | hle: kernel: Do not shutdown twice on emulator close. (diff) | |
download | yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar.gz yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar.bz2 yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar.lz yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar.xz yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.tar.zst yuzu-bf380b858481ef99d7150d322af2c30ac339bcde.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_synchronization_object.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/k_synchronization_object.h b/src/core/hle/kernel/k_synchronization_object.h index 5a99dbd46..a41dd1220 100644 --- a/src/core/hle/kernel/k_synchronization_object.h +++ b/src/core/hle/kernel/k_synchronization_object.h @@ -51,13 +51,4 @@ private: ThreadListNode* thread_list_tail{}; }; -// Specialization of DynamicObjectCast for KSynchronizationObjects -template <> -inline KSynchronizationObject* DynamicObjectCast<KSynchronizationObject>(Object* object) { - if (object != nullptr && object->IsWaitable()) { - return reinterpret_cast<KSynchronizationObject*>(object); - } - return nullptr; -} - } // namespace Kernel |