1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 11:13:19 +01:00

Gameviewer : fix wrong category

This commit is contained in:
raven02 2014-06-24 23:03:27 +08:00
parent eb3e18ac7e
commit 6f3b3f11c8

View File

@ -158,9 +158,9 @@ void GameViewer::LoadPSF()
if(game.serial.length() == 9)
game.serial = game.serial.substr(0, 4) + "-" + game.serial.substr(4, 5);
if (game.category.find("HG"))
if (game.category.substr(0, 2) == "HG")
game.category = "HDD Game";
else if (game.category.find("DG"))
else if (game.category.substr(0, 2) == "DG")
game.category = "Disc Game";
m_game_data.push_back(game);