[][src]Function gba::palram::index_palram_bg_4bpp

pub const fn index_palram_bg_4bpp(palbank: u8, palslot: u8) -> VolAddress<Color>

Obtains the address of the specified 4bpp background palbank and palslot.

Accesses palbank * 16 + palslot, if this is out of bounds the computation will wrap.