diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-06 18:52:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-06 18:53:02 +0200 |
commit | 2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05 (patch) | |
tree | beeab9f5d442901b32e6cfedc6fb46db7b08b8ff /src/core | |
parent | Merge pull request #933 from lioncash/memory (diff) | |
download | yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar.gz yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar.bz2 yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar.lz yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar.xz yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.tar.zst yuzu-2feb1a8ba6746a264ef4cc7ad7097c5c8b136e05.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/event.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/kernel/event.h b/src/core/hle/kernel/event.h index 1c99911b2..3c20c05e8 100644 --- a/src/core/hle/kernel/event.h +++ b/src/core/hle/kernel/event.h @@ -31,10 +31,9 @@ public: return HANDLE_TYPE; } - ResetType reset_type; ///< Current ResetType - - bool signaled; ///< Whether the event has already been signaled - std::string name; ///< Name of event (optional) + ResetType GetResetType() const { + return reset_type; + } bool ShouldWait(Thread* thread) const override; void Acquire(Thread* thread) override; @@ -47,6 +46,11 @@ public: private: Event(); ~Event() override; + + ResetType reset_type; ///< Current ResetType + + bool signaled; ///< Whether the event has already been signaled + std::string name; ///< Name of event (optional) }; } // namespace Kernel |