qt: Update save data dir open to use name from PSF. (#2954)

This commit is contained in:
squidbus
2025-05-18 13:16:31 -07:00
committed by GitHub
parent 5eb58799fe
commit 034ae8cffa
3 changed files with 7 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ public:
Common::FS::PathToQString(userPath,
Common::FS::GetUserPath(Common::FS::PathType::UserDir));
QString saveDataPath =
userPath + "/savedata/1/" + QString::fromStdString(m_games[itemID].serial);
userPath + "/savedata/1/" + QString::fromStdString(m_games[itemID].save_dir);
QDir(saveDataPath).mkpath(saveDataPath);
QDesktopServices::openUrl(QUrl::fromLocalFile(saveDataPath));
}