mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Remove odd way of getting ID in ISOProperties
Other code (like GameListItem) simply calls GetUniqueID, and I've never seen that lead to any problems.
This commit is contained in:
parent
3df83e5717
commit
42db9e2897
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user