From eb1e4f74183de400f27e9eed5d5358ad7aa0dc7a Mon Sep 17 00:00:00 2001 From: Thomas Goodman <5223071-Blazin64@users.noreply.gitlab.com> Date: Mon, 14 Feb 2022 23:51:32 -0600 Subject: [PATCH] Enable hashing on NTFS --- src/main.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8e002ed..7f22a99 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -400,22 +400,22 @@ int Menu_Main(void){ //full hashes - if(!useNTFS){ crc32Val = 0; md5_starts(&md5ctx); sha1_starts(&sha1ctx); + if(!useNTFS){ //part hashes crc32PartVal = 0; md5_starts(&md5PartCtx); sha1_starts(&sha1PartCtx); + } //create hashing thread stack = MEMBucket_alloc(0x4000, 0x20); thread = (OSThread*)memalign(8, 0x1000); //thread cant be in MEMBucket OSCreateThread(thread, hashThread, 0, NULL, (u32)stack+0x4000, 0x4000, 20, (1<