summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-11 01:06:33 -0500
committerLioncash <mathew1800@gmail.com>2020-11-11 01:09:42 -0500
commit689eec5304ebfcd27013717bb7c3924da570db80 (patch)
tree38671c968f92b99cc1f0b7d18c46717e5d6dbdcb /Source/Core/DiscIO/VolumeVerifier.cpp
parentae83685b0b4fd2d446738881c06e208e9a07166c (diff)
DiscIO: Make use of fmt-capable panic alerts
Migrates the DiscIO code over to fmt.
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index fc78cdd601..860709448e 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -312,11 +312,11 @@ std::vector<RedumpVerifier::PotentialMatch> RedumpVerifier::ScanDatfile(const st
// so show a panic alert rather than just using ERROR_LOG
// i18n: "Serial" refers to serial numbers, e.g. RVL-RSBE-USA
- PanicAlertT("Serial and/or version data is missing from %s\n"
- "Please append \"%s\" (without the quotes) to the datfile URL when downloading\n"
- "Example: %s",
- GetPathForSystem(system).c_str(), "serial,version",
- "http://redump.org/datfile/gc/serial,version");
+ PanicAlertFmtT("Serial and/or version data is missing from {}\n"
+ "Please append \"{}\" (without the quotes) to the datfile URL when downloading\n"
+ "Example: {}",
+ GetPathForSystem(system), "serial,version",
+ "http://redump.org/datfile/gc/serial,version");
m_result = {Status::Error, Common::GetStringT("Failed to parse Redump.org data")};
return {};
}