pub unsafe extern "C" fn AMPXI_WriteTWLSavedata(
    titleid: u64_,
    buffer: *mut u8_,
    size: u32_,
    image_filepos: u32_,
    section_type: u8_,
    operation: u8_
) -> Result
Expand description

Writes a TWL save-file to NAND. https://www.3dbrew.org/wiki/AMPXI:WriteTWLSavedata

§Arguments

  • titleid - ID of the TWL title.
  • buffer - Savedata buffer ptr.
  • size - Size of the savedata buffer.
  • image_filepos - Filepos to use for writing the data to the NAND savedata file.
  • section_type - https://www.3dbrew.org/wiki/AMPXI:WriteTWLSavedata
  • operation - https://3dbrew.org/wiki/AM:ImportDSiWare