trp data extracts to game_data/serial instead of folder name (#1194)

* trp data extracts to game_data/serial instead of folder name

* format
This commit is contained in:
CrazyBloo
2024-10-01 23:37:43 -04:00
committed by GitHub
parent e68774d449
commit 61f750bdd9
5 changed files with 6 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ void TrophyViewer::PopulateTrophyWidget(QString title) {
QDir dir(trophyDirQt);
if (!dir.exists()) {
std::filesystem::path path = Common::FS::PathFromQString(gameTrpPath_);
if (!trp.Extract(path))
if (!trp.Extract(path, title.toStdString()))
return;
}
QFileInfoList dirList = dir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);