mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-19 05:16:15 +00:00
Gameviewer : read PARAM.SFO for blue-ray disc
This commit is contained in:
parent
52a1860f0a
commit
9b951d5d3f
@ -126,9 +126,18 @@ void GameViewer::LoadPSF()
|
|||||||
m_game_data.clear();
|
m_game_data.clear();
|
||||||
for(uint i=0; i<m_games.size(); ++i)
|
for(uint i=0; i<m_games.size(); ++i)
|
||||||
{
|
{
|
||||||
const std::string path = m_path + m_games[i] + "/PARAM.SFO";
|
|
||||||
vfsFile f;
|
vfsFile f;
|
||||||
if(!f.Open(path))
|
std::string sfo;
|
||||||
|
std::string sfb;
|
||||||
|
|
||||||
|
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))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
PSFLoader psf(f);
|
PSFLoader psf(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user