dep/fmt: Bump to v11.0.2
This commit is contained in:
@@ -130,7 +130,7 @@ std::unique_ptr<CDImage> CDImage::Open(const char* filename, bool allow_patches,
|
||||
{
|
||||
image = CDImage::OverlayPPFPatch(ppf_filename.c_str(), std::move(image));
|
||||
if (!image)
|
||||
Error::SetString(error, fmt::format("Failed to apply ppf patch from '{}'.", ppf_filename));
|
||||
Error::SetStringFmt(error, "Failed to apply ppf patch from '{}'.", ppf_filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include "common/small_string.h"
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <cinttypes>
|
||||
@@ -383,7 +385,7 @@ bool CDImageDeviceWin32::Open(const char* filename, Error* error)
|
||||
if (m_tracks.empty())
|
||||
{
|
||||
ERROR_LOG("File '{}' contains no tracks", filename);
|
||||
Error::SetString(error, fmt::format("File '{}' contains no tracks", filename));
|
||||
Error::SetStringFmt(error, "File '{}' contains no tracks", filename);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
#include "cd_image_hasher.h"
|
||||
#include "cd_image.h"
|
||||
|
||||
#include "util/host.h"
|
||||
#include "host.h"
|
||||
|
||||
#include "common/md5_digest.h"
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
namespace CDImageHasher {
|
||||
|
||||
static bool ReadIndex(CDImage* image, u8 track, u8 index, MD5Digest* digest, ProgressCallback* progress_callback);
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "common/path.h"
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#include <array>
|
||||
@@ -509,7 +510,7 @@ bool CDImagePBP::OpenDisc(u32 index, Error* error)
|
||||
if (index >= m_disc_offsets.size())
|
||||
{
|
||||
ERROR_LOG("File does not contain disc {}", index + 1);
|
||||
Error::SetString(error, fmt::format("File does not contain disc {}", index + 1));
|
||||
Error::SetStringFmt(error, "File does not contain disc {}", index + 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ void CueParser::File::SetError(u32 line_number, Error* error, const char* format
|
||||
va_end(ap);
|
||||
|
||||
ERROR_LOG("Cue parse error at line {}: {}", line_number, str.c_str());
|
||||
Error::SetString(error, fmt::format("Cue parse error at line {}: {}", line_number, str));
|
||||
Error::SetStringFmt(error, "Cue parse error at line {}: {}", line_number, str);
|
||||
}
|
||||
|
||||
std::string_view CueParser::File::GetToken(const char*& line)
|
||||
|
||||
@@ -2,8 +2,11 @@
|
||||
// SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
||||
|
||||
#include "input_source.h"
|
||||
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
InputSource::InputSource() = default;
|
||||
|
||||
InputSource::~InputSource() = default;
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
#include "fmt/core.h"
|
||||
#include "fmt/format.h"
|
||||
#include "fmt/base.h"
|
||||
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "IconsPromptFont.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
||||
|
||||
#include "win32_raw_input_source.h"
|
||||
#include "input_manager.h"
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/log.h"
|
||||
#include "common/string_util.h"
|
||||
#include "core/host.h"
|
||||
#include "core/system.h"
|
||||
#include "input_manager.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <hidsdi.h>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "common/string_util.h"
|
||||
|
||||
#include "IconsPromptFont.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user