bsnes/higan/gba/cartridge/serialization.cpp

6 lines
169 B
C++
Raw Normal View History

void Cartridge::serialize(serializer &s) {
if(has_sram) s.array(ram.data, ram.size);
if(has_eeprom) eeprom.serialize(s);
if(has_flashrom) flashrom.serialize(s);
}