mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
[orbis-kernel] osem: fix saving name on create
This commit is contained in:
parent
7dd0b10f7a
commit
c998b3760a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue