summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/session.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-20 17:41:12 -0500
committerGravatar bunnei2015-01-21 20:47:49 -0500
commitc68eb1569549ae49ae25c6c29cec2e10d8329f2d (patch)
tree4a8683aac99095884acaf488aa4d059f861138b3 /src/core/hle/kernel/session.h
parentEvent: Fix implementation of "non-sticky" events. (diff)
downloadyuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.gz
yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.xz
yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.zip
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.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/kernel/session.h b/src/core/hle/kernel/session.h
index e11f727a5..f0343d9b2 100644
--- a/src/core/hle/kernel/session.h
+++ b/src/core/hle/kernel/session.h
@@ -54,11 +54,16 @@ public:
54 */ 54 */
55 virtual ResultVal<bool> SyncRequest() = 0; 55 virtual ResultVal<bool> SyncRequest() = 0;
56 56
57 ResultVal<bool> Wait() override { 57 // TODO(bunnei): These functions exist to satisfy a hardware test with a Session object
58 // TODO(bunnei): This function exists to satisfy a hardware test with a Session object 58 // passed into WaitSynchronization. Figure out the meaning of them.
59 // passed into WaitSynchronization. Not sure if it's possible for this to ever be false? 59
60 ResultVal<bool> ShouldWait() override {
60 return MakeResult<bool>(true); 61 return MakeResult<bool>(true);
61 } 62 }
63
64 ResultVal<bool> Acquire() override {
65 return MakeResult<bool>(false);
66 }
62}; 67};
63 68
64} 69}