summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/object.h
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-18 15:39:03 -0400
committerGravatar Lioncash2019-05-18 15:52:51 -0400
commita47aaa7f1ba690196ebde1a6eb543b3f9895f4d9 (patch)
treeb523ccbd6756b99060cf041c83590994b6d3126d /src/core/hle/kernel/object.h
parentMerge pull request #2462 from lioncash/video-mm (diff)
downloadyuzu-a47aaa7f1ba690196ebde1a6eb543b3f9895f4d9.tar.gz
yuzu-a47aaa7f1ba690196ebde1a6eb543b3f9895f4d9.tar.xz
yuzu-a47aaa7f1ba690196ebde1a6eb543b3f9895f4d9.zip
core/kernel/object: Rename ResetType enum members
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
Diffstat (limited to 'src/core/hle/kernel/object.h')
-rw-r--r--src/core/hle/kernel/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/object.h b/src/core/hle/kernel/object.h
index 332876c27..2821176a7 100644
--- a/src/core/hle/kernel/object.h
+++ b/src/core/hle/kernel/object.h
@@ -33,8 +33,8 @@ enum class HandleType : u32 {
33}; 33};
34 34
35enum class ResetType { 35enum class ResetType {
36 OneShot, ///< Reset automatically on object acquisition 36 Automatic, ///< Reset automatically on object acquisition
37 Sticky, ///< Never reset automatically 37 Manual, ///< Never reset automatically
38}; 38};
39 39
40class Object : NonCopyable { 40class Object : NonCopyable {