mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Debugger: Small Breakpoint cleanup
Reuse more code, change misleading names, remove useless documentation, add useful documentation
This commit is contained in:
parent
dd67b77601
commit
9aeeea3762
8 changed files with 41 additions and 40 deletions
|
@ -215,9 +215,9 @@ void BreakpointWidget::OnClicked(QTableWidgetItem* item)
|
|||
if (item->column() == ENABLED_COLUMN)
|
||||
{
|
||||
if (item->data(IS_MEMCHECK_ROLE).toBool())
|
||||
m_system.GetPowerPC().GetMemChecks().ToggleBreakPoint(address);
|
||||
m_system.GetPowerPC().GetMemChecks().ToggleEnable(address);
|
||||
else
|
||||
m_system.GetPowerPC().GetBreakPoints().ToggleBreakPoint(address);
|
||||
m_system.GetPowerPC().GetBreakPoints().ToggleEnable(address);
|
||||
|
||||
emit BreakpointsChanged();
|
||||
Update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue