summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/event.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-01 10:33:55 -0400
committerGravatar bunnei2014-06-01 10:33:55 -0400
commitf7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc (patch)
tree20948ca4b9df5e7b60399f197c448ba3745dede7 /src/core/hle/kernel/event.h
parenthle: added stubbed service for ndm_u (diff)
downloadyuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.gz
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.xz
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.zip
event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments
Diffstat (limited to 'src/core/hle/kernel/event.h')
-rw-r--r--src/core/hle/kernel/event.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/event.h b/src/core/hle/kernel/event.h
index b1d2c6ad1..f91a72c1c 100644
--- a/src/core/hle/kernel/event.h
+++ b/src/core/hle/kernel/event.h
@@ -20,6 +20,14 @@ namespace Kernel {
20Result SetEventLocked(const Handle handle, const bool locked); 20Result SetEventLocked(const Handle handle, const bool locked);
21 21
22/** 22/**
23 * Hackish function to set an events permanent lock state, used to pass through synch blocks
24 * @param handle Handle to event to change
25 * @param permanent_locked Boolean permanent locked value to set event
26 * @return Result of operation, 0 on success, otherwise error code
27 */
28Result SetPermanentLock(Handle handle, const bool permanent_locked);
29
30/**
23 * Clears an event 31 * Clears an event
24 * @param handle Handle to event to clear 32 * @param handle Handle to event to clear
25 * @return Result of operation, 0 on success, otherwise error code 33 * @return Result of operation, 0 on success, otherwise error code