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

Method contextCopyValue

pcsx2-qt/Debugger/RegisterView.cpp:320–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318
319
320void RegisterView::contextCopyValue()
321{
322 const int categoryIndex = ui.registerTabs->currentIndex();
323 const u128 val = cpu().getRegister(categoryIndex, m_selectedRow);
324 if (CAT_SHOW_FLOAT)
325 QApplication::clipboard()->setText(QString("%1").arg(QString::number(std::bit_cast<float>(val._u32[0])).toUpper(), 16));
326 else
327 QApplication::clipboard()->setText(QString("%1").arg(QString::number(val._u64[0], 16).toUpper(), 16));
328}
329
330void RegisterView::contextCopyTop()
331{

Callers

nothing calls this directly

Calls 2

getRegisterMethod · 0.80
argMethod · 0.80

Tested by

no test coverage detected