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/session.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/session.h')
| -rw-r--r-- | src/core/hle/kernel/session.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h index f0343d9b2..1788e4375 100644 --- a/src/core/hle/kernel/session.h +++ b/src/core/hle/kernel/session.h | |||
| @@ -57,12 +57,12 @@ public: | |||
| 57 | // TODO(bunnei): These functions exist to satisfy a hardware test with a Session object | 57 | // TODO(bunnei): These functions exist to satisfy a hardware test with a Session object |
| 58 | // passed into WaitSynchronization. Figure out the meaning of them. | 58 | // passed into WaitSynchronization. Figure out the meaning of them. |
| 59 | 59 | ||
| 60 | ResultVal<bool> ShouldWait() override { | 60 | bool ShouldWait() override { |
| 61 | return MakeResult<bool>(true); | 61 | return true; |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | ResultVal<bool> Acquire() override { | 64 | void Acquire() override { |
| 65 | return MakeResult<bool>(false); | 65 | _assert_msg_(Kernel, !ShouldWait(), "object unavailable!"); |
| 66 | } | 66 | } |
| 67 | }; | 67 | }; |
| 68 | 68 | ||