mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-05 23:59:05 +00:00
Merge pull request #12799 from mitaclaw/branch-watch-tool-fixes-3
Branch Watch Tool: Add Set Breakpoints Submenu
This commit is contained in:
commit
69fc754c65
4 changed files with 256 additions and 127 deletions
|
@ -145,18 +145,6 @@ void BranchWatchTableModel::OnWipeInspection()
|
|||
roles);
|
||||
}
|
||||
|
||||
void BranchWatchTableModel::OnDelete(QModelIndexList index_list)
|
||||
{
|
||||
std::sort(index_list.begin(), index_list.end());
|
||||
// TODO C++20: std::ranges::reverse_view
|
||||
for (auto iter = index_list.rbegin(); iter != index_list.rend(); ++iter)
|
||||
{
|
||||
if (!iter->isValid())
|
||||
continue;
|
||||
removeRow(iter->row());
|
||||
}
|
||||
}
|
||||
|
||||
void BranchWatchTableModel::Save(const Core::CPUThreadGuard& guard, std::FILE* file) const
|
||||
{
|
||||
m_branch_watch.Save(guard, file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue