aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/event.h
diff options
context:
space:
mode:
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 b1d2c6ad..f91a72c1 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