summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/event.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-01 16:33:55 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-01 16:33:55 +0200
commitf7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc (patch)
tree20948ca4b9df5e7b60399f197c448ba3745dede7 /src/core/hle/kernel/event.h
parenthle: added stubbed service for ndm_u (diff)
downloadyuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.gz
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.bz2
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.lz
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.xz
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.tar.zst
yuzu-f7cececc5ca82f97a9fb1ab50c62fd9e3a49ccdc.zip
Diffstat (limited to '')
-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 {
Result SetEventLocked(const Handle handle, const bool locked);
/**
+ * Hackish function to set an events permanent lock state, used to pass through synch blocks
+ * @param handle Handle to event to change
+ * @param permanent_locked Boolean permanent locked value to set event
+ * @return Result of operation, 0 on success, otherwise error code
+ */
+Result SetPermanentLock(Handle handle, const bool permanent_locked);
+
+/**
* Clears an event
* @param handle Handle to event to clear
* @return Result of operation, 0 on success, otherwise error code