s32 mfsRamSetFileGameCode(MfsDirID dirID, u8* companyCode, u8* gameCode)
Arguments
Return value
Function
Description
This function sets the company code and game code of the file (directory) specified by dirID. The company code is a two-byte code, and the game code is a four-byte code. To set only the company code or only the game code, specify NULL for the buffer corresponding to the code that is not to be set.
Main errors
| MFS_ERR_NO | Normal termination |
| MFS_ERR_NOTFOUND | Specified directory not found |
| MFS_ERR_PROTECT | Write protected
The file attribute is write protected, or the volume attribute is write protected, or the parent directory is write protected. |