retro_unserialize

Function retro_unserialize 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn retro_unserialize( data: *const c_void, size: usize, ) -> bool
Expand description

Called by the frontend when a “save state” should be loaded. This function should return false on error.

This could also be used by a frontend to implement rewind.