| 1327 | } |
| 1328 | |
| 1329 | void 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 | |
| 1340 | void MainWindow::ramImport() { |
| 1341 | QString path = QFileDialog::getOpenFileName(this, tr("Select RAM image to load"), |