aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SPI.h')
-rw-r--r--src/SPI.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SPI.h b/src/SPI.h
index d122da8..f2f8e0a 100644
--- a/src/SPI.h
+++ b/src/SPI.h
@@ -1,5 +1,5 @@
/*
- Copyright 2016-2017 StapleButter
+ Copyright 2016-2019 StapleButter
This file is part of melonDS.
@@ -19,6 +19,8 @@
#ifndef SPI_H
#define SPI_H
+#include "Savestate.h"
+
namespace SPI_Firmware
{
@@ -45,6 +47,7 @@ extern u16 Cnt;
bool Init();
void DeInit();
void Reset();
+void DoSavestate(Savestate* file);
u16 ReadCnt();
void WriteCnt(u16 val);
@@ -52,6 +55,8 @@ void WriteCnt(u16 val);
u8 ReadData();
void WriteData(u8 val);
+void TransferDone(u32 param);
+
}
#endif