diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-20 17:41:12 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-21 20:47:49 -0500 |
commit | c68eb1569549ae49ae25c6c29cec2e10d8329f2d (patch) | |
tree | 4a8683aac99095884acaf488aa4d059f861138b3 /src/core/hle/kernel/session.h | |
parent | 69c5830ef2a0190803e176615d5cb16d5462b971 (diff) |
WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.
Diffstat (limited to 'src/core/hle/kernel/session.h')
-rw-r--r-- | src/core/hle/kernel/session.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h index e11f727a..f0343d9b 100644 --- a/src/core/hle/kernel/session.h +++ b/src/core/hle/kernel/session.h @@ -54,11 +54,16 @@ public: */ virtual ResultVal<bool> SyncRequest() = 0; - ResultVal<bool> Wait() override { - // TODO(bunnei): This function exists to satisfy a hardware test with a Session object - // passed into WaitSynchronization. Not sure if it's possible for this to ever be false? + // TODO(bunnei): These functions exist to satisfy a hardware test with a Session object + // passed into WaitSynchronization. Figure out the meaning of them. + + ResultVal<bool> ShouldWait() override { return MakeResult<bool>(true); } + + ResultVal<bool> Acquire() override { + return MakeResult<bool>(false); + } }; } |