Two params per line for travis
This commit is contained in:
@@ -37,10 +37,9 @@ SharedPtr<Event> HLERequestContext::SleepClientThread(SharedPtr<Thread> thread,
|
|||||||
const std::string& reason, u64 timeout,
|
const std::string& reason, u64 timeout,
|
||||||
WakeupCallback&& callback) {
|
WakeupCallback&& callback) {
|
||||||
// Put the client thread to sleep until the wait event is signaled or the timeout expires.
|
// Put the client thread to sleep until the wait event is signaled or the timeout expires.
|
||||||
thread->wakeup_callback = [context = this, callback](ThreadWakeupReason reason,
|
thread->wakeup_callback =
|
||||||
SharedPtr<Thread> thread,
|
[context = this, callback](ThreadWakeupReason reason, SharedPtr<Thread> thread,
|
||||||
SharedPtr<WaitObject> object,
|
SharedPtr<WaitObject> object, size_t index) mutable -> bool {
|
||||||
size_t index) mutable -> bool {
|
|
||||||
ASSERT(thread->status == THREADSTATUS_WAIT_HLE_EVENT);
|
ASSERT(thread->status == THREADSTATUS_WAIT_HLE_EVENT);
|
||||||
callback(thread, *context, reason);
|
callback(thread, *context, reason);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user