mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Updated IDManager
ID member m_flags has been replaced with m_type, which stores the type of the object referenced by the ID and added std::set<IDType> to the ID manager to group relevant IDs in order to use them later in some lv2/sys_process functions and the Kernel Explorer.
This commit is contained in:
parent
475fb0d8c8
commit
d53327f8bb
21 changed files with 154 additions and 131 deletions
|
|
@ -35,7 +35,7 @@ s32 sys_semaphore_create(mem32_t sem, mem_ptr_t<sys_semaphore_attribute> attr, i
|
|||
default: sys_sem.Error("Unknown protocol attribute(0x%x)", (u32)attr->protocol); return CELL_EINVAL;
|
||||
}
|
||||
|
||||
sem = sys_sem.GetNewId(new Semaphore(initial_count, max_count, attr->protocol, attr->name_u64));
|
||||
sem = sys_sem.GetNewId(new Semaphore(initial_count, max_count, attr->protocol, attr->name_u64), TYPE_SEMAPHORE);
|
||||
LOG_NOTICE(HLE, "*** semaphore created [%s] (protocol=0x%x): id = %d",
|
||||
std::string(attr->name, 8).c_str(), (u32)attr->protocol, sem.GetValue());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue