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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 13 deletions

View file

@ -115,7 +115,7 @@ void Emulator::Run(const std::filesystem::path& file) {
Common::FS::GetUserPath(Common::FS::PathType::MetaDataDir) / id / "TrophyFiles";
if (!std::filesystem::exists(trophyDir)) {
TRP trp;
if (!trp.Extract(file.parent_path())) {
if (!trp.Extract(file.parent_path(), id)) {
LOG_ERROR(Loader, "Couldn't extract trophies");
}
}