From e93fbb7c5e66ff4590ce1d693cc66e7a9868a35c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Oct 2020 14:58:08 -0400 Subject: DiscIO: Migrate logging over to fmt Eliminates quite a bit of the PRI* macros used for handling 64-bit values. --- Source/Core/DiscIO/VolumeWad.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/DiscIO/VolumeWad.cpp') diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 86aebb20b6..e32609476f 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -54,7 +54,7 @@ VolumeWAD::VolumeWAD(std::unique_ptr reader) : m_reader(std::move(re if (!IOS::ES::IsValidTMDSize(m_tmd_size)) { - ERROR_LOG(DISCIO, "TMD is too large: %u bytes", m_tmd_size); + ERROR_LOG_FMT(DISCIO, "TMD is too large: {} bytes", m_tmd_size); return; } @@ -240,7 +240,8 @@ IOS::ES::TicketReader VolumeWAD::GetTicketWithFixedCommonKey() const } } - ERROR_LOG(DISCIO, "Couldn't find valid common key for WAD file (%u specified)", specified_index); + ERROR_LOG_FMT(DISCIO, "Couldn't find valid common key for WAD file ({} specified)", + specified_index); return m_ticket; } -- cgit v1.2.3