Implement utils_file_exists, use wide strings for paths

This commit is contained in:
mkrsym1
2023-08-04 21:09:16 +03:00
parent 4911f8d903
commit 592ce62e6b
4 changed files with 12 additions and 7 deletions

View File

@ -24,7 +24,7 @@ const struct crc_id_pair HI3_REGIONS[] = {
};
void hi3_fill_data(struct game_data *buf) {
uint32_t crc = utils_file_crc32c("UnityPlayer.dll");
uint32_t crc = utils_file_crc32c(L"UnityPlayer.dll");
enum game_id id = GAME_INVALID;
for (size_t i = 0; i < sizeof(HI3_REGIONS) / sizeof(struct crc_id_pair); i++) {