| 318 | |
| 319 | |
| 320 | void 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 | |
| 330 | void RegisterView::contextCopyTop() |
| 331 | { |
nothing calls this directly
no test coverage detected