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

Method ramImport

gui/qt/mainwindow.cpp:1340–1349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1338}
1339
1340void MainWindow::ramImport() {
1341 QString path = QFileDialog::getOpenFileName(this, tr("Select RAM image to load"),
1342 m_dir.absolutePath(),
1343 tr("RAM images (*.ram);;All files (*.*)"));
1344 if (!path.isEmpty()) {
1345 m_dir = QFileInfo(path).absoluteDir();
1346 m_pathRam = path;
1347 emuLoad(EMU_DATA_RAM);
1348 }
1349}
1350
1351void MainWindow::dropEvent(QDropEvent *e) {
1352 if (m_isSendingRom) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected