MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / openMemoryCardFolder

Method openMemoryCardFolder

pcsx2-qt/MainWindow.cpp:3430–3443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3428}
3429
3430void MainWindow::openMemoryCardFolder()
3431{
3432 const std::string memcard_dir = EmuFolders::MemoryCards;
3433
3434 // Make sure directory exists or that we can successfully create it.
3435 if (FileSystem::DirectoryExists(memcard_dir.c_str()) || FileSystem::CreateDirectoryPath(memcard_dir.c_str(), false))
3436 {
3437 const QFileInfo fi(QString::fromStdString(memcard_dir));
3438 QtUtils::OpenURL(this, QUrl::fromLocalFile(fi.absoluteFilePath()));
3439 return;
3440 }
3441
3442 QMessageBox::critical(this, tr("Error"), tr("Failed to open memory card directory."));
3443}
3444
3445void MainWindow::openVideoCaptureFolder(const GameList::Entry& entry)
3446{

Callers

nothing calls this directly

Calls 2

OpenURLFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected