aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-09-15 02:47:34 +0200
committerStapleButter <thetotalworm@gmail.com>2018-09-15 02:47:34 +0200
commit0bfd019dc06ef9cf66d657400c21a889a22efa80 (patch)
tree2eb23efc0b552b9e6b41c1feac969828f437e3fb /src/NDS.cpp
parentfea79556757d01450826cbbaca888885e5d409cd (diff)
start implementing actual shito
(also looks like the test bench in libui_sdl/main.cpp snuck in with the copyright update. shit)
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index bf5e0ef..909e8c2 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -356,6 +356,22 @@ void Stop()
SPU::Stop();
}
+void Savestate(Savestate* file)
+{
+ // NDS shito
+
+ ARM9->Savestate(file);
+ ARM7->Savestate(file);
+ CP15::Savestate(file);
+
+ // NDSCart
+ // GPU
+ // SPU
+ // SPI
+ // RTC
+ // wifi
+}
+
bool LoadROM(const char* path, bool direct)
{
if (NDSCart::LoadROM(path, direct))