diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index e4f52713a5..f254be68ca 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -33,7 +33,7 @@ std::string DirectoryNameForPartitionType(u32 partition_type) static_cast((partition_type >> 8) & 0xFF), static_cast(partition_type & 0xFF)}; if (std::all_of(type_as_game_id.cbegin(), type_as_game_id.cend(), - [](char c) { return std::isprint(c, std::locale::classic()); })) + [](char c) { return std::isalnum(c, std::locale::classic()); })) { return "P-" + type_as_game_id; }