Krom2Tim2Converts a SHIFT-JIS character string to 4-bit CLUT TIM data | |||||||||||
Arguments
Return Value0 is returned when conversion is successful.-1 is returned when the code specified by sjis is invalid. ExplanationThe SHIFT-JIS character string specified by sjis is converted to 4-bit CLUT TIM data.The result is placed in the buffer pointed to by taddr. Krom2Tim2() is the user-defined character version of Krom2Tim(). NotesThe Kanji code must be SHIFT-JIS encoded.Full-width and half-width characters can be mixed in the character string, but they are all changed to full-width at the time the characters are displayed. Half-width kana are not supported. For the area specified by taddr, the size shown in the following formula must be allocated in advance, where num is the length of the string specified by sjis. If (num<16)
|