mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
Merge pull request #988 from Bigpet/restore_threadlist
re-enable threadlist in GUI
This commit is contained in:
commit
fbee6d4017
@ -18,7 +18,7 @@ public:
|
||||
CPUThread& AddThread(CPUThreadType type);
|
||||
void RemoveThread(const u32 id);
|
||||
|
||||
//std::vector<std::shared_ptr<CPUThread>>& GetThreads() { return m_threads; }
|
||||
std::vector<std::shared_ptr<CPUThread>> GetThreads() { return m_threads; }
|
||||
s32 GetThreadNumById(CPUThreadType type, u32 id);
|
||||
std::shared_ptr<CPUThread> GetThread(u32 id);
|
||||
std::shared_ptr<CPUThread> GetThread(u32 id, CPUThreadType type);
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user