diff --git a/rpcs3/Emu/CPU/CPUThreadManager.h b/rpcs3/Emu/CPU/CPUThreadManager.h index 66fef8b377..9724b4ab34 100644 --- a/rpcs3/Emu/CPU/CPUThreadManager.h +++ b/rpcs3/Emu/CPU/CPUThreadManager.h @@ -18,7 +18,7 @@ public: CPUThread& AddThread(CPUThreadType type); void RemoveThread(const u32 id); - //std::vector>& GetThreads() { return m_threads; } + std::vector> GetThreads() { return m_threads; } s32 GetThreadNumById(CPUThreadType type, u32 id); std::shared_ptr GetThread(u32 id); std::shared_ptr GetThread(u32 id, CPUThreadType type); diff --git a/rpcs3/Gui/InterpreterDisAsm.cpp b/rpcs3/Gui/InterpreterDisAsm.cpp index 1a62a4224c..b16742f078 100644 --- a/rpcs3/Gui/InterpreterDisAsm.cpp +++ b/rpcs3/Gui/InterpreterDisAsm.cpp @@ -108,12 +108,12 @@ void InterpreterDisAsmFrame::UpdateUnitList() { m_choice_units->Freeze(); m_choice_units->Clear(); - //auto& thrs = Emu.GetCPU().GetThreads(); + auto thrs = Emu.GetCPU().GetThreads(); - //for (auto& t : thrs) - //{ - // m_choice_units->Append(t->GetFName(), t.get()); - //} + for (auto& t : thrs) + { + m_choice_units->Append(t->GetFName(), t.get()); + } m_choice_units->Thaw(); }