MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / contextFollowBranch

Method contextFollowBranch

pcsx2-qt/Debugger/DisassemblyView.cpp:233–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void DisassemblyView::contextFollowBranch()
234{
235 DisassemblyLineInfo line;
236
237 m_disassemblyManager.getLine(m_selectedAddressStart, true, line);
238
239 if (line.type == DISTYPE_OPCODE || line.type == DISTYPE_MACRO)
240 {
241 if (line.info.isBranch)
242 gotoAddressAndSetFocus(line.info.branchTarget);
243 else if (line.info.hasRelevantAddress)
244 gotoAddressAndSetFocus(line.info.releventAddress);
245 }
246}
247
248void DisassemblyView::contextGoToAddress()
249{

Callers

nothing calls this directly

Calls 1

getLineMethod · 0.80

Tested by

no test coverage detected