summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWad.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-21 14:58:08 -0400
committerLioncash <mathew1800@gmail.com>2020-10-22 15:41:42 -0400
commite93fbb7c5e66ff4590ce1d693cc66e7a9868a35c (patch)
tree7e6d9219301ec08798fe3cf6b74e27a78105e35b /Source/Core/DiscIO/VolumeWad.cpp
parent09e87b79f19ce0fb06b236e15ebed414af57558a (diff)
DiscIO: Migrate logging over to fmt
Eliminates quite a bit of the PRI* macros used for handling 64-bit values.
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWad.cpp5
1 files changed, 3 insertions, 2 deletions
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<BlobReader> 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;
}