Function psp::sys::sceKernelVolatileMemTryLock

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelVolatileMemTryLock(
    unk: i32,
    ptr: *mut *mut c_void,
    size: *mut i32
) -> i32
Expand description

Try and allocate the extra 4megs of RAM, will return an error if something has already allocated it

§Parameters

  • unk: No idea as it is never used, set to anything
  • ptr: Pointer to a pointer to hold the address of the memory
  • size: Pointer to an int which will hold the size of the memory

§Return Value

0 on success