diff options
author | bunnei <bunneidev@gmail.com> | 2021-03-31 23:43:39 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:49 +0200 |
commit | b8751630e20914482b6ba0b6347c5f8f668e9748 (patch) | |
tree | c24b9bb60f7df6e5950c694aba15815bc8ec04df /src/core/hle/kernel/k_auto_object.cpp | |
parent | common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC. (diff) | |
download | yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar.gz yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar.bz2 yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar.lz yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar.xz yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.tar.zst yuzu-b8751630e20914482b6ba0b6347c5f8f668e9748.zip |
Diffstat (limited to 'src/core/hle/kernel/k_auto_object.cpp')
-rw-r--r-- | src/core/hle/kernel/k_auto_object.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_auto_object.cpp b/src/core/hle/kernel/k_auto_object.cpp new file mode 100644 index 000000000..dbe237f09 --- /dev/null +++ b/src/core/hle/kernel/k_auto_object.cpp @@ -0,0 +1,14 @@ +// Copyright 2021 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/kernel/k_auto_object.h" + +namespace Kernel { + +KAutoObject* KAutoObject::Create(KAutoObject* obj) { + obj->m_ref_count = 1; + return obj; +} + +} // namespace Kernel |