diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 37d1f0fd0..7f5f738ed 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -1632,7 +1632,7 @@ std::optional> Host::ReadResourceFile(std::string_view filename, const std::string path = QtHost::GetResourcePath(filename, allow_override); std::optional> ret(FileSystem::ReadBinaryFile(path.c_str())); if (!ret.has_value()) - Log_ErrorPrintf("Failed to read resource file '%s'", filename); + Log_ErrorFmt("Failed to read resource file '{}'", filename); return ret; } @@ -1641,7 +1641,7 @@ std::optional Host::ReadResourceFileToString(std::string_view filen const std::string path = QtHost::GetResourcePath(filename, allow_override); std::optional ret(FileSystem::ReadFileToString(path.c_str())); if (!ret.has_value()) - Log_ErrorPrintf("Failed to read resource file to string '%s'", filename); + Log_ErrorFmt("Failed to read resource file to string '{}'", filename); return ret; } @@ -1652,7 +1652,7 @@ std::optional Host::GetResourceFileTimestamp(std::string_view filen FILESYSTEM_STAT_DATA sd; if (!FileSystem::StatFile(path.c_str(), &sd)) { - Log_ErrorPrintf("Failed to stat resource file '%s'", filename); + Log_ErrorFmt("Failed to stat resource file '{}'", filename); return std::nullopt; }