SGDK How do I convert a u16 to a string?
Posted: Mon Aug 03, 2015 1:26 pm
How do I convert a u16 to a string?
Sega Megadrive/Genesis development
http://gendev.spritesmind.net/forum/
There are a few SGDK compatible conversion methods in its string.h file (see the doxygen document). Namely, casting your u16 to a u32 and using the uintToStr() function should sufficematteus wrote:How do I convert a u16 to a string?
Thanks this is spot on! Exactly what I need!MrTamk1s wrote:There are a few SGDK compatible conversion methods in its string.h file (see the doxygen document). Namely, casting your u16 to a u32 and using the uintToStr() function should sufficematteus wrote:How do I convert a u16 to a string?