| 630 | } |
| 631 | |
| 632 | void FluxViewerControl::DisplayDecodedData(std::shared_ptr<const Sector> sector) |
| 633 | { |
| 634 | std::stringstream s; |
| 635 | |
| 636 | auto title = fmt::format("User data for c{}.h{}.s{}", |
| 637 | sector->logicalCylinder, |
| 638 | sector->logicalHead, |
| 639 | sector->logicalSector); |
| 640 | s << title << '\n'; |
| 641 | dumpSectorMetadata(s, sector); |
| 642 | s << '\n'; |
| 643 | |
| 644 | hexdump(s, sector->data); |
| 645 | |
| 646 | TextViewerWindow::Create(this, title, s.str())->Show(); |
| 647 | } |
| 648 | |
| 649 | void FluxViewerControl::DisplaySectorSummary( |
| 650 | std::shared_ptr<const Sector> sector) |
nothing calls this directly
no test coverage detected