mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-17 04:15:12 +00: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
|
|
@ -122,10 +122,15 @@ void InterpreterDisAsmFrame::UpdateUnitList()
|
|||
m_choice_units->Freeze();
|
||||
m_choice_units->Clear();
|
||||
|
||||
idm::select<ppu_thread, SPUThread, RawSPUThread, ARMv7Thread>([&](u32, cpu_thread& cpu)
|
||||
const auto on_select = [&](u32, cpu_thread& cpu)
|
||||
{
|
||||
m_choice_units->Append(cpu.get_name(), &cpu);
|
||||
});
|
||||
};
|
||||
|
||||
idm::select<ppu_thread>(on_select);
|
||||
idm::select<ARMv7Thread>(on_select);
|
||||
idm::select<RawSPUThread>(on_select);
|
||||
idm::select<SPUThread>(on_select);
|
||||
|
||||
m_choice_units->Thaw();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue