logo
#[no_mangle]
pub unsafe extern "C" fn retro_unserialize(
    data: *const c_void,
    size: size_t
) -> 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.