From 29d6dd609c4e77a6d2a6bcac9f48e44cc0ab8814 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 12 Jan 2022 22:26:04 -0800 Subject: Fix non-constexpr format strings --- Source/Core/DiscIO/DiscUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/DiscUtils.cpp') diff --git a/Source/Core/DiscIO/DiscUtils.cpp b/Source/Core/DiscIO/DiscUtils.cpp index 002ce066db..cdfcb015c4 100644 --- a/Source/Core/DiscIO/DiscUtils.cpp +++ b/Source/Core/DiscIO/DiscUtils.cpp @@ -45,7 +45,7 @@ std::string NameForPartitionType(u32 partition_type, bool include_prefix) return include_prefix ? "P-" + type_as_game_id : type_as_game_id; } - return fmt::format(include_prefix ? "P{}" : "{}", partition_type); + return fmt::format("{}{}", include_prefix ? "P" : "", partition_type); } } -- cgit v1.2.3