mirror of https://github.com/RPCS3/rpcs3.git
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);
|
CPUThread& AddThread(CPUThreadType type);
|
||||||
void RemoveThread(const u32 id);
|
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);
|
s32 GetThreadNumById(CPUThreadType type, u32 id);
|
||||||
std::shared_ptr<CPUThread> GetThread(u32 id);
|
std::shared_ptr<CPUThread> GetThread(u32 id);
|
||||||
std::shared_ptr<CPUThread> GetThread(u32 id, CPUThreadType type);
|
std::shared_ptr<CPUThread> GetThread(u32 id, CPUThreadType type);
|
||||||
|
|
|
@ -108,12 +108,12 @@ void InterpreterDisAsmFrame::UpdateUnitList()
|
||||||
{
|
{
|
||||||
m_choice_units->Freeze();
|
m_choice_units->Freeze();
|
||||||
m_choice_units->Clear();
|
m_choice_units->Clear();
|
||||||
//auto& thrs = Emu.GetCPU().GetThreads();
|
auto thrs = Emu.GetCPU().GetThreads();
|
||||||
|
|
||||||
//for (auto& t : thrs)
|
for (auto& t : thrs)
|
||||||
//{
|
{
|
||||||
// m_choice_units->Append(t->GetFName(), t.get());
|
m_choice_units->Append(t->GetFName(), t.get());
|
||||||
//}
|
}
|
||||||
|
|
||||||
m_choice_units->Thaw();
|
m_choice_units->Thaw();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue