s32 mfsRomGetFileGameCode(MfsDirID dirID, u8* companyCode, u8* gameCode) s32 mfsRamGetFileGameCode(MfsDirID dirID, u8* companyCode, u8* gameCode)
Arguments
Return value
Function
Description
This function obtains the company code and game code of the file (directory). A two-byte buffer is required for the company code and a four-byte buffer is required for the game code. To obtain only the company code or only the game code, specify NULL for the buffer corresponding to the code that is not to be obtained.
Main errors
MFS_ERR_NO | Normal termination |
MFS_ERR_NOTFOUND | Specified directory not found |