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/DiscIO/DiscUtils.cpp | |
| parent | 18cf8ac7670a9ed53cf3d78d55dbcdffcf0d9605 (diff) | |
Fix non-constexpr format strings
Diffstat (limited to 'Source/Core/DiscIO/DiscUtils.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
