aboutsummaryrefslogtreecommitdiff
path: root/src/GBACart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GBACart.cpp')
-rw-r--r--src/GBACart.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GBACart.cpp b/src/GBACart.cpp
index 7e5e3b5..1cca812 100644
--- a/src/GBACart.cpp
+++ b/src/GBACart.cpp
@@ -502,6 +502,8 @@ void Reset()
void DoSavestate(Savestate* file)
{
// TODO?
+ GBACart_SRAM::DoSavestate(file);
+ GBACart_SolarSensor::DoSavestate(file);
}
bool LoadROM(const char* path, const char* sram)
@@ -625,6 +627,11 @@ void Reset()
LightLevel = 0;
}
+void DoSavestate(Savestate* file)
+{
+ // TODO?
+}
+
void Process(GBACart::GPIO* gpio)
{
if (gpio->data & 4) return; // Boktai chip select