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
|
nuContPakFileReSizeFormatvoid nuContPakFileReSize(NUContPakFile *file, u8* noteName, u8* extName, s32 size) Arguments
none What This Function Does It changes the size and capacity of the Controller Pak game note. Changing the number of usable pages during a game might confuse the game user, so please try not to use this function. The file argument must point to a location in a device that has been opened by the nuContPakOpen function. Before calling this function, you must ensure that the company code and game code have been registered by the nuContPakCodeSet function. If the game note name does not fill 16 bytes, 0x00 is assigned to the unused space. The size of the note 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 osPfsReSizeFile function is set in file.error. See Also nuContPakOpen nuContPakCodeSet nuContPakFileReSizeJis
|