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

Method contextGoToAddress

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

Source from the content-addressed store, hash-verified

246}
247
248void DisassemblyView::contextGoToAddress()
249{
250 const QString title = tr("Go To In Disassembly");
251
252 AsyncDialogs::getText(this, title, "", "", [this](QString expression) {
253 u64 address = 0;
254 std::string error;
255 if (!cpu().evaluateExpression(expression.toStdString().c_str(), address, error))
256 {
257 AsyncDialogs::warning(this, tr("Cannot Go To"), QString::fromStdString(error));
258 return;
259 }
260
261 gotoAddressAndSetFocus(static_cast<u32>(address) & ~3);
262 });
263}
264
265void DisassemblyView::contextAddFunction()
266{

Callers

nothing calls this directly

Calls 2

evaluateExpressionMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected