| 945 | } |
| 946 | |
| 947 | uint32_t cf_GetfileCRC(const std::filesystem::path &src) { |
| 948 | CFILE *infile = cfopen(src, "rb"); |
| 949 | if (!infile) |
| 950 | return 0xFFFFFFFF; |
| 951 | |
| 952 | uint32_t crc = cf_CalculateFileCRC(infile); |
| 953 | cfclose(infile); |
| 954 | |
| 955 | return crc; |
| 956 | } |
| 957 | |
| 958 | char cfile_search_wildcard[256]; |
| 959 | std::shared_ptr<library> cfile_search_library; |
no test coverage detected