diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-01-12 22:26:04 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-01-13 11:11:08 -0800 |
| commit | 29d6dd609c4e77a6d2a6bcac9f48e44cc0ab8814 (patch) | |
| tree | 698cf605b91805cf01f0f5a3f9a305017fb58d65 /Source/Core/VideoCommon/XFStructs.cpp | |
| parent | 18cf8ac7670a9ed53cf3d78d55dbcdffcf0d9605 (diff) | |
Fix non-constexpr format strings
Diffstat (limited to 'Source/Core/VideoCommon/XFStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/XFStructs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/XFStructs.cpp b/Source/Core/VideoCommon/XFStructs.cpp index be565c6de0..33e148d043 100644 --- a/Source/Core/VideoCommon/XFStructs.cpp +++ b/Source/Core/VideoCommon/XFStructs.cpp @@ -594,7 +594,7 @@ std::pair<std::string, std::string> GetXFTransferInfo(u16 base_address, u8 trans for (u32 i = 0; i < xf_mem_transfer_size; i++) { const auto mem_desc = GetXFMemDescription(xf_mem_base + i, Common::swap32(data)); - fmt::format_to(std::back_inserter(desc), i == 0 ? "{}" : "\n{}", mem_desc); + fmt::format_to(std::back_inserter(desc), "{}{}", i != 0 ? "\n" : "", mem_desc); data += 4; } |
