| 342 | } |
| 343 | |
| 344 | void 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 | |
| 354 | void RegisterView::fetchNewValue(u64 currentValue, bool segment, std::function<void(u64)> callback) |
| 355 | { |
nothing calls this directly
no test coverage detected