| 719 | } |
| 720 | |
| 721 | static void sanatiseObjectFilename(std::string& filename) |
| 722 | { |
| 723 | // Trim string at first space (note this copies vanilla but maybe shouldn't) |
| 724 | auto space = filename.find_first_of(' '); |
| 725 | if (space != std::string::npos) |
| 726 | { |
| 727 | filename = filename.substr(0, space); |
| 728 | } |
| 729 | // Make filename uppercase |
| 730 | std::transform(std::begin(filename), std::end(filename), std::begin(filename), toupper); |
| 731 | } |
| 732 | |
| 733 | // 0x0047285C |
| 734 | static bool installObject(const ObjectHeader& objectHeader) |
no test coverage detected