mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
IdManager improved
lv2_obj for kernel objects Simple lookup (vector) Another idm API refactoring
This commit is contained in:
parent
be8d8ded3f
commit
b21fce4d6f
52 changed files with 812 additions and 765 deletions
|
@ -867,7 +867,7 @@ bool SPUThread::set_ch_value(u32 ch, u32 value)
|
|||
|
||||
LOG_TRACE(SPU, "sys_event_flag_set_bit(id=%d, value=0x%x (flag=%d))", data, value, flag);
|
||||
|
||||
const auto eflag = idm::get<lv2_event_flag_t>(data);
|
||||
const auto eflag = idm::get<lv2_obj, lv2_event_flag>(data);
|
||||
|
||||
if (!eflag)
|
||||
{
|
||||
|
@ -908,7 +908,7 @@ bool SPUThread::set_ch_value(u32 ch, u32 value)
|
|||
|
||||
LOG_TRACE(SPU, "sys_event_flag_set_bit_impatient(id=%d, value=0x%x (flag=%d))", data, value, flag);
|
||||
|
||||
const auto eflag = idm::get<lv2_event_flag_t>(data);
|
||||
const auto eflag = idm::get<lv2_obj, lv2_event_flag>(data);
|
||||
|
||||
if (!eflag)
|
||||
{
|
||||
|
@ -1179,7 +1179,7 @@ bool SPUThread::stop_and_signal(u32 code)
|
|||
return ch_in_mbox.set_values(1, CELL_EINVAL), true;
|
||||
}
|
||||
|
||||
std::shared_ptr<lv2_event_queue_t> queue;
|
||||
std::shared_ptr<lv2_event_queue> queue;
|
||||
|
||||
for (auto& v : this->spuq)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue