bsnes/processor/r6502/serialization.cpp