Fix non-constexpr format strings

This commit is contained in:
Pokechu22 committed 2022-01-13 11:11:08 -08:00
1 parent 18cf8ac767
commit 29d6dd609c
5 files changed
+12 -14

No files matched your search

+1 -1
View File
@@ -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);
}
}