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

Method contextGoToAddress

pcsx2-qt/Debugger/Memory/MemoryView.cpp:896–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894}
895
896void MemoryView::contextGoToAddress()
897{
898 const QString title = tr("Go To In Memory View");
899
900 AsyncDialogs::getText(this, title, "", "", [this](QString expression) {
901 u64 address = 0;
902 std::string error;
903 if (!cpu().evaluateExpression(expression.toStdString().c_str(), address, error))
904 {
905 AsyncDialogs::warning(this, tr("Cannot Go To"), QString::fromStdString(error));
906 return;
907 }
908
909 gotoAddress(static_cast<u32>(address));
910 });
911}
912
913void MemoryView::contextFollowAddress()
914{

Callers

nothing calls this directly

Calls 2

evaluateExpressionMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected