summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-27 04:12:46 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-27 04:12:46 +0200
commit58a3adcdd2eed9d31cd441186af872a0a8924e73 (patch)
tree65dc8f4a1c26151ce027558ecdf886cb0beeb67b /src/core/hle/service
parentsvc: added some assertions (diff)
downloadyuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.gz
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.bz2
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.lz
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.xz
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.zst
yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.zip
Diffstat (limited to 'src/core/hle/service')
-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 c970ace4b..12ef51b91 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]);