DebugInterface: Rename InsertBLR to Patch

This commit is contained in:
Sepalani 2017-10-05 20:09:12 +02:00
parent 428f0fa69b
commit f65dcdcdca
6 changed files with 9 additions and 9 deletions

View file

@ -227,9 +227,9 @@ void CCodeView::InsertBlrNop(int Blr)
temp.oldValue = m_debugger->ReadMemory(m_selection);
m_blrList.push_back(temp);
if (Blr == 0)
m_debugger->InsertBLR(m_selection, 0x4e800020);
m_debugger->Patch(m_selection, 0x4e800020);
else
m_debugger->InsertBLR(m_selection, 0x60000000);
m_debugger->Patch(m_selection, 0x60000000);
}
Refresh();
}
@ -320,7 +320,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
unsigned long code;
if (dialog.GetValue().ToULong(&code, 0) && code <= std::numeric_limits<u32>::max())
{
m_debugger->InsertBLR(m_selection, code);
m_debugger->Patch(m_selection, code);
Refresh();
}
}