mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-27 09:17:54 -05:00
Merge pull request #1502 from lioncash/unique
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu
This commit is contained in:
@ -66,10 +66,11 @@ std::vector<std::unique_ptr<WaitTreeThread>> WaitTreeItem::MakeThreadItemList()
|
||||
}
|
||||
};
|
||||
|
||||
add_threads(Core::System::GetInstance().Scheduler(0)->GetThreadList());
|
||||
add_threads(Core::System::GetInstance().Scheduler(1)->GetThreadList());
|
||||
add_threads(Core::System::GetInstance().Scheduler(2)->GetThreadList());
|
||||
add_threads(Core::System::GetInstance().Scheduler(3)->GetThreadList());
|
||||
const auto& system = Core::System::GetInstance();
|
||||
add_threads(system.Scheduler(0).GetThreadList());
|
||||
add_threads(system.Scheduler(1).GetThreadList());
|
||||
add_threads(system.Scheduler(2).GetThreadList());
|
||||
add_threads(system.Scheduler(3).GetThreadList());
|
||||
|
||||
return item_list;
|
||||
}
|
||||
|
Reference in New Issue
Block a user