diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-03-30 13:28:51 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-03-30 13:28:51 +0200 |
commit | d412630a49b8fa07dde47c40f0f5f93d68c83f38 (patch) | |
tree | b83002a92089e0463c5a55036418c7104b6ea961 | |
parent | d2cae446b9380a4c640cbf6a73eb38e470cd7bb0 (diff) |
should probably be a strncmp() and not strncasecmp()
-rw-r--r-- | src/NDSCart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index cd04470..5a2a0d0 100644 --- a/src/NDSCart.cpp +++ b/src/NDSCart.cpp @@ -879,7 +879,7 @@ void DecryptSecureArea(u8* out) for (u32 i = 0; i < 0x800; i += 8) Key1_Decrypt((u32*)&out[i]); - if (!strncasecmp((const char*)out, "encryObj", 8)) + if (!strncmp((const char*)out, "encryObj", 8)) { printf("Secure area decryption OK\n"); *(u32*)&out[0] = 0xE7FFDEFF; |