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
|
nuContPakFileStateFormatnuContPakFileState(NUContPakFile* file, OSPfsState* state) Arguments
none What This Function Does It gets the Controller Pak game note information from the specified game note in the Controller Pak and stores it in the location pointed to by state. The file argument specifies a Controller Pak structure in a game note that was opened by the nuContPakFileOpen function in a device opened by the nuContPackOpen function. To fetch all of the information from all of the game notes in the Controller Pak, call the nuContPakFileState function 16 times with file.file_no specified in order from 0 to 15. The OSPfsState structure pointed to by state has the following contents: typedef struct { u32 file_size; // note size (in bytes) u32 game_code; // game code u16 company_code; // company code char ext_name[4]; // note extension char game_name[16]; // note name }The value returned by the osPfsFileState function is set in file.error. See Also nuContPakOpen nuContPakFileOpen nuContPakOpenJis
|