From 82302c9bf48598f889d0942340c224852c1378c5 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sat, 30 May 2020 03:15:05 +0200 Subject: [PATCH] fix shito. --- src/NDSCart.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 6a25bcb2..06c3bde7 100644 --- a/src/NDSCart.cpp +++ b/src/NDSCart.cpp @@ -875,10 +875,10 @@ void DecryptSecureArea(u8* out) memcpy(out, &CartROM[arm9base], 0x800); - Key1_InitKeycode(gamecode, 2, 2); + Key1_InitKeycode(false, gamecode, 2, 2); Key1_Decrypt((u32*)&out[0]); - Key1_InitKeycode(gamecode, 3, 2); + Key1_InitKeycode(false, gamecode, 3, 2); for (u32 i = 0; i < 0x800; i += 8) Key1_Decrypt((u32*)&out[i]); @@ -1018,7 +1018,7 @@ bool LoadROM(const char* path, const char* sram, bool direct) ROMCommandHandler = ROMCommand_Retail; // encryption - Key1_InitKeycode(gamecode, 2, 2); + Key1_InitKeycode(false, gamecode, 2, 2); // save printf("Save file: %s\n", sram);