General: Toss out PRI macro usage

Now that VS supports more printf specifiers, these aren't necessary
This commit is contained in:
Lioncash
2015-09-05 16:02:35 -04:00
parent e01428935f
commit 8fdb013d54
35 changed files with 71 additions and 76 deletions
+1 -1
View File
@@ -202,7 +202,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)));
+1 -1
View File
@@ -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));
}
}