bsnes/higan/gba/cartridge/serialization.cpp

7 lines
171 B
C++

void Cartridge::serialize(serializer& s) {
mrom.serialize(s);
if(hasSRAM) sram.serialize(s);
if(hasEEPROM) eeprom.serialize(s);
if(hasFLASH) flash.serialize(s);
}