retro_get_memory_size

Function retro_get_memory_size 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn retro_get_memory_size(id: c_uint) -> usize
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.