mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fix non-constexpr format strings
This commit is contained in:
parent
18cf8ac767
commit
29d6dd609c
5 changed files with 12 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue