mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Merge pull request #2961 from lioncash/printf
General: Toss out PRI macro usage
This commit is contained in:
@ -206,7 +206,7 @@ std::string GameListItem::CreateCacheFilename()
|
||||
|
||||
// Filename.extension_HashOfFolderPath_Size.cache
|
||||
// Append hash to prevent ISO name-clashing in different folders.
|
||||
Filename.append(StringFromFormat("%s_%x_%" PRIx64 ".cache",
|
||||
Filename.append(StringFromFormat("%s_%x_%llx.cache",
|
||||
extension.c_str(), HashFletcher((const u8 *)LegalPathname.c_str(), LegalPathname.size()),
|
||||
File::GetSize(m_FileName)));
|
||||
|
||||
|
@ -112,7 +112,7 @@ CISOProperties::CISOProperties(const std::string& fileName, wxWindow* parent, wx
|
||||
u8 game_id_bytes[8];
|
||||
if (OpenISO->GetTitleID(game_id_bytes))
|
||||
{
|
||||
game_id = StringFromFormat("%016" PRIx64, Common::swap64(game_id_bytes));
|
||||
game_id = StringFromFormat("%016llx", Common::swap64(game_id_bytes));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user