summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-20 18:16:45 -0500
committerGravatar bunnei2015-01-21 20:47:49 -0500
commit15b6a4d9add6b260a2a1a84ab6228addced4f851 (patch)
treee9934863ebd6483cabae0f6c280fab7e34eee32e /src/core/hle/kernel/thread.h
parentWaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" p... (diff)
downloadyuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.gz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.xz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.zip
Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index b23638bd1..bed9f714a 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -58,8 +58,8 @@ public:
58 inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } 58 inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; }
59 inline bool IsIdle() const { return idle; } 59 inline bool IsIdle() const { return idle; }
60 60
61 ResultVal<bool> ShouldWait() override; 61 bool ShouldWait() override;
62 ResultVal<bool> Acquire() override; 62 void Acquire() override;
63 63
64 s32 GetPriority() const { return current_priority; } 64 s32 GetPriority() const { return current_priority; }
65 void SetPriority(s32 priority); 65 void SetPriority(s32 priority);