diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-29 08:49:07 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-29 08:58:32 +0200 |
commit | 7b2917b4e1f257a5bca3892be13bb6dcb1ed9820 (patch) | |
tree | d92bec1006154a64e5ca2b7bc9d46b4cf61ced95 /src/core/hle/kernel/k_thread.h | |
parent | Merge pull request #6375 from lioncash/iofs (diff) | |
download | yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar.gz yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar.bz2 yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar.lz yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar.xz yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.tar.zst yuzu-7b2917b4e1f257a5bca3892be13bb6dcb1ed9820.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 4abfc2b49..01eebb165 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -358,21 +358,21 @@ public: return termination_requested || GetRawState() == ThreadState::Terminated; } - [[nodiscard]] virtual u64 GetId() const override final { + [[nodiscard]] u64 GetId() const override { return this->GetThreadID(); } - [[nodiscard]] virtual bool IsInitialized() const override { + [[nodiscard]] bool IsInitialized() const override { return initialized; } - [[nodiscard]] virtual uintptr_t GetPostDestroyArgument() const override { + [[nodiscard]] uintptr_t GetPostDestroyArgument() const override { return reinterpret_cast<uintptr_t>(parent) | (resource_limit_release_hint ? 1 : 0); } - virtual void Finalize() override; + void Finalize() override; - [[nodiscard]] virtual bool IsSignaled() const override; + [[nodiscard]] bool IsSignaled() const override; static void PostDestroy(uintptr_t arg); |