aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 8d3afbf..27356b2 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -474,8 +474,8 @@ bool DoSavestate(Savestate* file)
file->Var16(&IPCSync7);
file->Var16(&IPCFIFOCnt9);
file->Var16(&IPCFIFOCnt7);
- IPCFIFO9->Savestate(file);
- IPCFIFO7->Savestate(file);
+ IPCFIFO9->DoSavestate(file);
+ IPCFIFO7->DoSavestate(file);
file->Var16(&DivCnt);
file->Var16(&SqrtCnt);
@@ -510,11 +510,13 @@ bool DoSavestate(Savestate* file)
CP15::DoSavestate(file);
NDSCart::DoSavestate(file);
- // GPU
+ GPU::DoSavestate(file);
// SPU
// SPI
// RTC
// wifi
+
+ return true;
}
bool LoadROM(const char* path, bool direct)