mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-24 17:40:33 +01:00
[sce_sys] Add EFAULT in sys_evf_cancel
This commit is contained in:
parent
3dbf146fbd
commit
91ccd75387
|
|
@ -271,7 +271,7 @@ orbis::SysResult orbis::sys_evf_cancel(Thread *thread, sint id, uint64_t value,
|
|||
|
||||
auto numWaitThreads = evf->cancel(value);
|
||||
if (pNumWaitThreads != nullptr) {
|
||||
*pNumWaitThreads = numWaitThreads;
|
||||
return uwrite(pNumWaitThreads, static_cast<sint>(numWaitThreads));
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue