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);