Function psp::sys::sceGuClutMode

source ·
#[no_mangle]
pub unsafe extern "C" fn sceGuClutMode(
    cpsm: ClutPixelFormat,
    shift: u32,
    mask: u32,
    a3: u32
)
Expand description

Set current CLUT mode

§Parameters

  • cpsm: Which pixel format to use for the palette
  • shift: Shifts color index by that many bits to the right
  • mask: Masks the color index with this bitmask after the shift (0-0xFF)
  • a3: Unknown, set to 0