mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Force loading order on hash/normalize path
This commit is contained in:
parent
643850ef2e
commit
55850aa828
1 changed files with 2 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ void mod_md5_hash(struct Mod* mod) {
|
||||||
u8 buffer[MD5_BUFFER_SIZE] = { 0 };
|
u8 buffer[MD5_BUFFER_SIZE] = { 0 };
|
||||||
|
|
||||||
mod->hashProcessed = false;
|
mod->hashProcessed = false;
|
||||||
|
mod_set_loading_order(mod);
|
||||||
|
|
||||||
MD5_CTX ctx = { 0 };
|
MD5_CTX ctx = { 0 };
|
||||||
MD5_Init(&ctx);
|
MD5_Init(&ctx);
|
||||||
|
|
@ -548,6 +549,7 @@ void mod_md5_hash(struct Mod* mod) {
|
||||||
LOG_ERROR("Failed to combine path for mod hashing.");
|
LOG_ERROR("Failed to combine path for mod hashing.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
normalize_path(path);
|
||||||
|
|
||||||
// open file pointer
|
// open file pointer
|
||||||
FILE* fp = fopen(path, "rb");
|
FILE* fp = fopen(path, "rb");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue