retro_add_image_index_t

Type Alias retro_add_image_index_t 

Source
pub type retro_add_image_index_t = Option<unsafe extern "C" fn() -> bool>;
Expand description

Adds a new valid index (get_num_images()) to the internal disk list. This will increment subsequent return values from get_num_images() by 1. This image index cannot be used until a disk image has been set with replace_image_index.

Aliased Type§

pub enum retro_add_image_index_t {
    None,
    Some(unsafe extern "C" fn() -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn() -> bool)

Some value of type T.