diff options
Diffstat (limited to 'src/SPI.h')
-rw-r--r-- | src/SPI.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |