diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-05-30 03:15:05 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-05-30 03:15:05 +0200 |
commit | 82302c9bf48598f889d0942340c224852c1378c5 (patch) | |
tree | f776b6b7118dd9952e84450d7ef28f836e43d502 /src | |
parent | 2327de2423fbf0a0a8548587deb29df25c1c1432 (diff) |
fix shito.
Diffstat (limited to 'src')
-rw-r--r-- | src/NDSCart.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 6a25bcb..06c3bde 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); |