From f471857a255fad42f275ae74a95da402551726a3 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 14 Jun 2014 14:16:23 +0800 Subject: [PATCH] Gameviewer : name category HG as HDD game and DG as Disc game --- rpcs3/Gui/GameViewer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Gui/GameViewer.cpp b/rpcs3/Gui/GameViewer.cpp index 9c2c31c0c0..5b2062a908 100644 --- a/rpcs3/Gui/GameViewer.cpp +++ b/rpcs3/Gui/GameViewer.cpp @@ -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); }