Function psp::sys::sceGuClutLoad

source ·
#[no_mangle]
pub unsafe extern "C" fn sceGuClutLoad(
    num_blocks: i32,
    cbp: *const c_void
)
Expand description

Upload CLUT (Color Lookup Table)

§Note

Data must be aligned to 1 quad word (16 bytes)

§Parameters

  • num_blocks: How many blocks of 8 entries to upload (32*8 is 256 colors)
  • cbp: Pointer to palette (16 byte aligned)