logo
#[no_mangle]
pub unsafe extern "C" fn retro_get_memory_size(id: c_uint) -> size_t
Expand description

Returns the size (in bytes) of the queried memory type. Return 0 in case this doesn’t apply to your Core.

id is one of the RETRO_MEMORY_* constants.