logo
#[no_mangle]
pub unsafe extern "C" fn retro_serialize(
    data: *mut c_void,
    size: size_t
) -> bool
Expand description

Called by the frontend when the Cores state should be serialized (“save state”). This function should return false on error.

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