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

Method romExport

gui/qt/mainwindow.cpp:1318–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318void MainWindow::romExport() {
1319 QString filter = tr("ROM images (*.rom)");
1320 QString path = QFileDialog::getSaveFileName(this, tr("Set ROM image to save to"),
1321 m_dir.absolutePath(),
1322 filter, &filter);
1323 if (!path.isEmpty()) {
1324 m_dir = QFileInfo(path).absoluteDir();
1325 emu.save(EMU_DATA_ROM, path);
1326 }
1327}
1328
1329void MainWindow::ramExport() {
1330 QString filter = tr("RAM images (*.ram)");

Callers

nothing calls this directly

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected