mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-25 00:56:33 +01:00
orbis-kernel: sys_evf_create: ignore shared evf duplication
This commit is contained in:
parent
42ad5c1cc9
commit
8f46b420c9
|
|
@ -226,10 +226,6 @@ orbis::SysResult orbis::sys_evf_create(Thread *thread, ptr<const char[32]> name,
|
|||
auto [insertedEvf, inserted] =
|
||||
thread->tproc->context->createEventFlag(_name, attrs, initPattern);
|
||||
|
||||
if (!inserted) {
|
||||
return ErrorCode::EXIST; // FIXME: verify
|
||||
}
|
||||
|
||||
eventFlag = insertedEvf;
|
||||
} else {
|
||||
eventFlag = knew<EventFlag>(attrs, initPattern);
|
||||
|
|
|
|||
Loading…
Reference in a new issue