Function


nuContPakFileDeleteJis


Syntax

s32 nuContPakFileDeleteJis(NUContPakFile *file, u8* noteName, u8* extName)

Arguments

*file       Controller Pak structure
*noteName   note name (JIS)  Terminal NULL (Converted to N64 font code 16 bytes)
*extName    note name (JIS)  Terminal NULL (Converted to N64 font code 1 byte)

Return Value

Error

Description

Deletes the Controller Pak game note

This works the same as the nuContPakFileDelete function, except you can specify the game note name and extension with JIS code. The conversion from JIS code to N64 font code is performed internally. At this time, the katakana daku-ten and handaku-ten characters are converted to the corresponding 1 byte N64 font codes. For details, see the explanation for the nuContPakFileDelete function.

Errors

PFS_ERR_NOPACK Nothing is inserted in the specified Controller.
PFS_ERR_NEW_PACK The Controller Pak may have been changed. Please perform the Open process again.
PFS_ERR_INCONSISTENT There is an inconsistency in the file system management area.
PFS_ERR_CONTRFAIL Data transfer with Controller has failed.
PFS_ERR_INVALID Invalid parameter or the game note does not exist.

See Also

nuContPakOpen, nuContPakFileDelete, nuContPakJisToN64, and nuContPakN64ToJis