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

Method contextCopySegment

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

Source from the content-addressed store, hash-verified

342}
343
344void RegisterView::contextCopySegment()
345{
346 const int categoryIndex = ui.registerTabs->currentIndex();
347 const u128 val = cpu().getRegister(categoryIndex, m_selectedRow);
348 if (CAT_SHOW_FLOAT)
349 QApplication::clipboard()->setText(FilledQStringFromValue(std::bit_cast<float>(val._u32[3 - m_selected128Field]), 10));
350 else
351 QApplication::clipboard()->setText(FilledQStringFromValue(val._u32[3 - m_selected128Field], 16));
352}
353
354void RegisterView::fetchNewValue(u64 currentValue, bool segment, std::function<void(u64)> callback)
355{

Callers

nothing calls this directly

Calls 2

FilledQStringFromValueFunction · 0.85
getRegisterMethod · 0.80

Tested by

no test coverage detected