aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-05-26 22:12:46 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-05-26 22:12:46 -0400
commit58a3adcdd2eed9d31cd441186af872a0a8924e73 (patch)
tree65dc8f4a1c26151ce027558ecdf886cb0beeb67b /src/core/hle/service/service.h
parent6e51c56fe41c3ff38db3a13e8773a9e9b2103377 (diff)
kernel: updated SyncRequest to take boolean thread wait result as a parameter
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r--src/core/hle/service/service.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index c970ace4..12ef51b9 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -76,10 +76,11 @@ public:
}
/**
- * Called when svcSendSyncRequest is called, loads command buffer and executes comand
- * @return Return result of svcSendSyncRequest passed back to user app
+ * Synchronize kernel object
+ * @param wait Boolean wait set if current thread should wait as a result of sync operation
+ * @return Result of operation, 0 on success, otherwise error code
*/
- Result SyncRequest() {
+ Result SyncRequest(bool* wait) {
u32* cmd_buff = GetCommandBuffer();
auto itr = m_functions.find(cmd_buff[0]);