comparison serialize.h @ 2280:9ead0fe69d9b

Implement savestate support for Sega CD
author Michael Pavone <pavone@retrodev.com>
date Sun, 08 Jan 2023 14:42:24 -0800
parents 3b8e29ef1145
children 64cf80e683aa
comparison
equal deleted inserted replaced
2279:3b5fef896475 2280:9ead0fe69d9b
41 SECTION_MAIN_RAM, 41 SECTION_MAIN_RAM,
42 SECTION_SOUND_RAM, 42 SECTION_SOUND_RAM,
43 SECTION_MAPPER, 43 SECTION_MAPPER,
44 SECTION_EEPROM, 44 SECTION_EEPROM,
45 SECTION_CART_RAM, 45 SECTION_CART_RAM,
46 SECTION_TMSS 46 SECTION_TMSS,
47 SECTION_SUB_68000,
48 SECTION_GATE_ARRAY,
49 SECTION_CDD_MCU,
50 SECTION_LC8951,
51 SECTION_RF5C164,
52 SECTION_CDD_FADER,
53 SECTION_CDROM
47 }; 54 };
48 55
49 void init_serialize(serialize_buffer *buf); 56 void init_serialize(serialize_buffer *buf);
50 void save_int32(serialize_buffer *buf, uint32_t val); 57 void save_int32(serialize_buffer *buf, uint32_t val);
51 void save_int16(serialize_buffer *buf, uint16_t val); 58 void save_int16(serialize_buffer *buf, uint16_t val);