retro_serialize_size

Function retro_serialize_size 

Source
pub unsafe extern "C" fn retro_serialize_size() -> usize
Expand description

Returns the amount of data the implementation requires to serialize internal state (save states). Between calls to retro_load_game() and retro_unload_game(), the returned size is never allowed to be larger than a previous returned value, to ensure that the frontend can allocate a save state buffer once.