| 95 | } |
| 96 | |
| 97 | void RomSelection::openROMSegments() { |
| 98 | QFileDialog dialog(this); |
| 99 | |
| 100 | |
| 101 | dialog.setDirectory(m_dir); |
| 102 | dialog.setFileMode(QFileDialog::ExistingFiles); |
| 103 | dialog.setNameFilter(QStringLiteral("ROMData (*.8xv *.8Xv *.8xV .8XV)")); |
| 104 | |
| 105 | if (!dialog.exec()) { |
| 106 | return; |
| 107 | } |
| 108 | |
| 109 | m_dir = dialog.directory(); |
| 110 | |
| 111 | m_segs = dialog.selectedFiles(); |
| 112 | parseROMSegments(); |
| 113 | } |
| 114 | |
| 115 | void RomSelection::parseROMSegments() { |
| 116 | FILE *fd; |
nothing calls this directly
no outgoing calls
no test coverage detected