aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_AES.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_AES.h')
-rw-r--r--src/DSi_AES.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DSi_AES.h b/src/DSi_AES.h
index 9c0a63f..4df8269 100644
--- a/src/DSi_AES.h
+++ b/src/DSi_AES.h
@@ -45,10 +45,11 @@ __attribute((always_inline)) static void Bswap128(void* Dst, const void* Src)
#endif
#pragma GCC diagnostic pop
+class DSi;
class DSi_AES
{
public:
- DSi_AES();
+ DSi_AES(melonDS::DSi& dsi);
~DSi_AES();
void Reset();
void DoSavestate(Savestate* file);
@@ -73,6 +74,7 @@ public:
static void DeriveNormalKey(u8* keyX, u8* keyY, u8* normalkey);
private:
+ melonDS::DSi& DSi;
u32 Cnt;
u32 BlkCnt;