From 6f3b3f11c8870f6b63eaa12cbb576f9bb446eb4d Mon Sep 17 00:00:00 2001 From: raven02 Date: Tue, 24 Jun 2014 23:03:27 +0800 Subject: [PATCH] Gameviewer : fix wrong category --- rpcs3/Gui/GameViewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Gui/GameViewer.cpp b/rpcs3/Gui/GameViewer.cpp index 5b2062a908..0f9732b912 100644 --- a/rpcs3/Gui/GameViewer.cpp +++ b/rpcs3/Gui/GameViewer.cpp @@ -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);