mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
Add DoSavestate() function to GBACart_SolarSensor
Still empty, but should be implemented along with the rest.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user