MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setRom

Method setRom

gui/qt/mainwindow.cpp:1651–1656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649}
1650
1651void 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
1658bool MainWindow::runSetup() {
1659 RomSelection *romWizard = new RomSelection();

Callers

nothing calls this directly

Calls 1

appDirFunction · 0.85

Tested by

no test coverage detected