mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Bugfix
This commit is contained in:
parent
935302b620
commit
8c1aa3ee15
3 changed files with 34 additions and 28 deletions
|
@ -130,23 +130,27 @@ void GameViewer::LoadPSF()
|
|||
m_game_data.clear();
|
||||
for(uint i=0; i<m_games.size(); ++i)
|
||||
{
|
||||
vfsFile f;
|
||||
std::string sfo;
|
||||
std::string sfb;
|
||||
const std::string sfb = m_path + m_games[i] + "/PS3_DISC.SFB";
|
||||
const std::string sfo = m_path + m_games[i] + (Emu.GetVFS().ExistsFile(sfb) ? "/PS3_GAME/PARAM.SFO" : "/PARAM.SFO");
|
||||
|
||||
sfb = m_path + m_games[i] + "/PS3_DISC.SFB";
|
||||
|
||||
if (!f.Open(sfb))
|
||||
sfo = m_path + m_games[i] + "/PARAM.SFO";
|
||||
else
|
||||
sfo = m_path + m_games[i] + "/PS3_GAME/PARAM.SFO";
|
||||
|
||||
if(!f.Open(sfo))
|
||||
if (!Emu.GetVFS().ExistsFile(sfo))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
vfsFile f;
|
||||
|
||||
if (!f.Open(sfo))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
const PSFLoader psf(f);
|
||||
if(!psf)
|
||||
|
||||
if (!psf)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// get local path from VFS...
|
||||
std::string local_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue