bsnes/sfc/chip/msu1/serialization.cpp

26 lines
486 B
C++

#ifdef MSU1_CPP
void MSU1::serialize(serializer& s) {
Thread::serialize(s);
s.integer(mmio.data_seek_offset);
s.integer(mmio.data_read_offset);
s.integer(mmio.audio_play_offset);
s.integer(mmio.audio_loop_offset);
s.integer(mmio.audio_track);
s.integer(mmio.audio_volume);
s.integer(mmio.data_busy);
s.integer(mmio.audio_busy);
s.integer(mmio.audio_repeat);
s.integer(mmio.audio_play);
s.integer(mmio.audio_error);
data_open();
audio_open();
}
#endif