mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12: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
|
@ -11,7 +11,11 @@ s32 sys_timer_create(mem32_t timer_id)
|
|||
{
|
||||
sys_timer.Warning("sys_timer_create(timer_id_addr=0x%x)", timer_id.GetAddr());
|
||||
|
||||
timer_id = sys_timer.GetNewId(new timer);
|
||||
if (!timer_id.IsGood()) {
|
||||
return CELL_EFAULT;
|
||||
}
|
||||
|
||||
timer_id = sys_timer.GetNewId(new timer, TYPE_TIMER);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue