mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 07:30:24 +01:00
[orbis-kernel] osem: fix saving name on create
This commit is contained in:
parent
7dd0b10f7a
commit
c998b3760a
|
|
@ -406,6 +406,7 @@ orbis::SysResult orbis::sys_osem_create(Thread *thread,
|
|||
return ErrorCode::EXIST; // FIXME: verify
|
||||
}
|
||||
|
||||
std::strncpy(insertedSem->name, _name, 32);
|
||||
sem = insertedSem;
|
||||
} else {
|
||||
sem = knew<Semaphore>(attrs, initCount, maxCount);
|
||||
|
|
|
|||
Loading…
Reference in a new issue