mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-10 03:11:38 -10:00
pcsx2/StringView.h/.cpp held prefix/suffix tests, a lower-casing copy and the pnach "key = value" split, all on std::string_view. Each had one or two callers: - MemoryCardFile's ".bin" checks and pcap_io's device-name prefix are libretro-common's string_ends_with/string_starts_with, on strings that are NUL-terminated anyway. - VMManager::IsElfFileName compares the last four characters to ".elf" without case. - The game database lower-cases its serial keys with an ASCII loop. - The pnach reader splits at '=' itself, with the stripping it already had for the comma-separated fields; that stripping now passes isspace an unsigned char, as it must for bytes past 0x7f. The files are gone from the Makefile, CMake and the test builds that linked them.