N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

nuContPakFileDelete

Format
void nuContPakFileDelete(NUContPakFile *file, u8* noteName, u8* extName)

Arguments
  • file is the pointer to the Controller Pak structure
  • noteName is the pointer to the game note name (16 bytes in N64 font code)
  • extName is the pointer to the note extension (1 byte in N64 font code)
Returned Value
none

What This Function Does
It deletes the game note in the Controller Pak. The file argument must point to a device that has been opened by the nuContPakOpen function. The company code and game code must be registered by the nuContPakCodeSet function before this function can be called. If the game note name does not fill 16 bytes, 0x00 is assigned to the unused space. The size of the extension is 4 bytes, but 1 byte is usable, and it is usually 0x00. Additional notes are assigned 0x1A-0x33 ('A'-'Z' in N64 font code). The value returned by the osPfsDeleteFile function is set in file.error.

See Also
nuContPakOpen
nuContPakFileDeleteJis



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998