Function psp::sys::sceNetAdhocGameModeCreateReplica

source ·
#[no_mangle]
pub unsafe extern "C" fn sceNetAdhocGameModeCreateReplica(
    mac: *mut u8,
    data: *mut c_void,
    size: i32
) -> i32
Expand description

Create peer game object type data.

§Parameters

  • mac: The mac address of the peer.
  • data: A pointer to the game object data.
  • size: Size of the game data.

§Return Value

The id of the replica on success, < 0 on error.