mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Log PSF path on error
This commit is contained in:
parent
49a968219f
commit
5dbadccd7f
10 changed files with 35 additions and 31 deletions
|
|
@ -308,7 +308,7 @@ namespace rpcs3::utils
|
|||
|
||||
if (entry.is_directory && fs::is_file(sfo_path))
|
||||
{
|
||||
const auto psf = psf::load_object(fs::file(sfo_path));
|
||||
const auto psf = psf::load_object(sfo_path);
|
||||
const auto serial = psf::get_string(psf, "TITLE_ID");
|
||||
if (serial == title_id)
|
||||
{
|
||||
|
|
@ -321,7 +321,7 @@ namespace rpcs3::utils
|
|||
return game_path + "/PS3_GAME";
|
||||
}
|
||||
|
||||
const auto psf = psf::load_object(fs::file(game_path + "/PARAM.SFO"));
|
||||
const auto psf = psf::load_object(game_path + "/PARAM.SFO");
|
||||
|
||||
const auto category = psf::get_string(psf, "CATEGORY");
|
||||
const auto content_id = psf::get_string(psf, "CONTENT_ID");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue