diff --git a/rpcs3/util/types.hpp b/rpcs3/util/types.hpp index c686352c2e..a102a12bea 100644 --- a/rpcs3/util/types.hpp +++ b/rpcs3/util/types.hpp @@ -928,6 +928,10 @@ std::conditional_t>, usz, std::string_ { return obj; } + else if constexpr (std::is_array_v && std::is_constructible_v) + { + return { obj, std::size(obj) - 1 }; + } else { return std::string_view{};