Merge pull request #3074 from JosJuice/isoproperties-gettitleid

Remove odd way of getting ID in ISOProperties
This commit is contained in:
Lioncash 2015-09-22 12:24:19 -04:00
commit 5d774df1e8
1 changed files with 0 additions and 9 deletions

View File

@ -106,16 +106,7 @@ CISOProperties::CISOProperties(const GameListItem& game_list_item, wxWindow* par
// Load ISO data
OpenISO = DiscIO::CreateVolumeFromFilename(OpenGameListItem.GetFileName());
// Is it really necessary to use GetTitleID if GetUniqueID fails?
game_id = OpenISO->GetUniqueID();
if (game_id.empty())
{
u8 game_id_bytes[8];
if (OpenISO->GetTitleID(game_id_bytes))
{
game_id = StringFromFormat("%016" PRIx64, Common::swap64(game_id_bytes));
}
}
// Load game INIs
GameIniFileLocal = File::GetUserPath(D_GAMESETTINGS_IDX) + game_id + ".ini";