diff options
| author | 2015-01-20 18:16:45 -0500 | |
|---|---|---|
| committer | 2015-01-21 20:47:49 -0500 | |
| commit | 15b6a4d9add6b260a2a1a84ab6228addced4f851 (patch) | |
| tree | e9934863ebd6483cabae0f6c280fab7e34eee32e /src/core/hle/kernel/thread.h | |
| parent | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" p... (diff) | |
| download | yuzu-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.h | 4 |
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); |