Function psp::sys::sceGuOffset

source ·
#[no_mangle]
pub unsafe extern "C" fn sceGuOffset(x: u32, y: u32)
Expand description

Set virtual coordinate offset

The PSP has a virtual coordinate-space of 4096x4096, this controls where rendering is performed.

§Example

Center the virtual coordinate range:

sceGuOffset(2048 - (480 / 2), 2048 - (272 / 2));

§Parameters

  • x: Offset (0-4095)
  • y: Offset (0-4095)