mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 21:48:01 -05:00
kernel: updated SyncRequest to take boolean thread wait result as a parameter
This commit is contained in:
@ -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]);
|
||||
|
||||
|
Reference in New Issue
Block a user