JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
538 stars 31 forks source link

Add save state support #56

Closed JaCzekanski closed 4 years ago

JaCzekanski commented 5 years ago
JaCzekanski commented 4 years ago

Cereal was chosen - it is quick enough for this purpose and makes the implementation of serialization very simple - almost all types used in the codebase are supported out of the box. Making class serializable is just a matter of adding a single templated method which references fields to be saved.