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

Method ramExport

gui/qt/mainwindow.cpp:1329–1338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1327}
1328
1329void MainWindow::ramExport() {
1330 QString filter = tr("RAM images (*.ram)");
1331 QString path = QFileDialog::getSaveFileName(this, tr("Set RAM image to save to"),
1332 m_dir.absolutePath(),
1333 filter, &filter);
1334 if (!path.isEmpty()) {
1335 m_dir = QFileInfo(path).absoluteDir();
1336 emu.save(EMU_DATA_RAM, path);
1337 }
1338}
1339
1340void MainWindow::ramImport() {
1341 QString path = QFileDialog::getOpenFileName(this, tr("Select RAM image to load"),

Callers

nothing calls this directly

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected