| 554 | } |
| 555 | |
| 556 | std::string_view Patch::PatchInfo::GetNameParentPart() const |
| 557 | { |
| 558 | const std::string::size_type pos = name.rfind('\\'); |
| 559 | std::string_view ret; |
| 560 | if (pos != std::string::npos) |
| 561 | ret = std::string_view(name).substr(0, pos); |
| 562 | return ret; |
| 563 | } |
| 564 | |
| 565 | std::vector<Patch::PatchInfo> Patch::GetPatchInfo(const std::string_view serial, u32 crc, bool cheats, bool showAllCRCS, u32* num_unlabelled_patches) |
| 566 | { |
no test coverage detected