[−][src]Function gba_addresses::oam::index_obj_attr
pub const fn index_obj_attr(i: usize) -> usize
Index the object attributes to a given entry.
This is the address of attr0
for the requested set of object attributes.
The attr1
and attr2
addresses are each 2 bytes farther along
respectively.
Panics
i
must be < 128.