| 1649 | } |
| 1650 | |
| 1651 | void MainWindow::setRom(const QString &path) { |
| 1652 | m_pathRom = QDir::cleanPath(appDir().absoluteFilePath(path)); |
| 1653 | m_config->setValue(SETTING_ROM_PATH, m_pathRom); |
| 1654 | ui->pathRom->setText(m_portable ? appDir().relativeFilePath(m_pathRom) : m_pathRom); |
| 1655 | emuLoad(EMU_DATA_ROM); |
| 1656 | } |
| 1657 | |
| 1658 | bool MainWindow::runSetup() { |
| 1659 | RomSelection *romWizard = new RomSelection(); |