mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +00:00
Gameviewer : name category HG as HDD game and DG as Disc game
This commit is contained in:
parent
49c9e0f3e2
commit
f471857a25
@ -154,9 +154,15 @@ void GameViewer::LoadPSF()
|
||||
game.parental_lvl = psf.GetInteger("PARENTAL_LEVEL");
|
||||
game.resolution = psf.GetInteger("RESOLUTION");
|
||||
game.sound_format = psf.GetInteger("SOUND_FORMAT");
|
||||
|
||||
if(game.serial.length() == 9)
|
||||
game.serial = game.serial.substr(0, 4) + "-" + game.serial.substr(4, 5);
|
||||
|
||||
if (game.category.find("HG"))
|
||||
game.category = "HDD Game";
|
||||
else if (game.category.find("DG"))
|
||||
game.category = "Disc Game";
|
||||
|
||||
m_game_data.push_back(game);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user